I have been recording videos to show the screen animations. The easiest and best way to do this is via the adb and a terminal window. I have a preference for Linux so I use Cygwin for my terminal, but it will work in the windows terminal for the DOS fans out there.
- Attach a debuggable device or start an emulator
- Open your favorite terminal (You will need your environment variables setup to find the adb commands).
- In the terminal:, enter “adb shell screenrecord /sdcard/movie.mp4”. You can use any movie name that is Linux compliant.
- You are recording at this point so go to the device/emulator and perform the actions You want recorded.
- Back in the terminal:
- crtl-c to stop the recording.
- change directory to the location where you want the movie.
- enter “adb pull /sdcard/movie.mp4”
Tada! Your video is now on the computer and available for viewing.
No comments :
Post a Comment