Android Screen Capture with ADB

The Android Device Debug Utility (ADB) comes with a handy commandline screencapture feature by default.

Android Screen Capture with ADB

For permission access to a Facebook App, you need to submit a screencapture with the request in the Facebook Developer Portal. To do that, you need to screencapture your app using the selected permission, but what software to use for this?

The Android Device Debug Utility (ADB) comes with a handy commandline screencapture feature by default.

How to capture

After you connect your phone to your computer, allow it to be debugged from your computer. Back at a terminal on your computer enter:

adb shell screenrecord /mnt/sdcard/Download/example.mp4

This creates a mp4 file at the specified location (which you can change to something else as long as there are write permissions granted for that location) with the screen contents as you navigate your device. When you're done recording hit Ctrl+C to close out the file and enjoy your recorded rewards.

Easy!