Home > Mobile >  The adb control cell phone camera to upload pictures to the computer
The adb control cell phone camera to upload pictures to the computer

Time:10-07

Why after I had finished my bat script can transmit pictures can't open camera but what is the row, phone display is a few megabytes, but hundreds of k is going on on your computer anyone who can help me thanks
Below is the script I wrote
@ ECHO OFF
ECHO. [fast mobile phones]
ECHO. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
ECHO. Mobile phone pictures...

The adb shell am start - a android. Media. Action. STILL_IMAGE_CAMERA
The set j="D: \ bat "
Set the date: t=% ~ 0, 4 % % date: ~ 5, 2 % % date: ~ 8, 2 _ % % time: % % ~ 0, 2 time: ~ % % time: 3, 2 ~ 6, %
The adb exec - out screencap - p & gt; J t % % IMG_ % % JPG
The adb shell input keyevent 27
The adb shell input keyevent 4
Start % j %

@ ECHO ON
  • Related