Recording Video of an Android Device
Overview
This guide is about how to record a video from a device. This can be done two ways:
- Using Android Studio
- Directly through ADB
1. Using Android Studio
Open Android Studio. First, go to your menu and View -> Tool Windows -> Logcat. To take a video recording of your app, see these instructions.
2. Directly through ADB
- Connect your device to the computer using USB
- Open up the terminal and find the path to
adbexecutable on your machine. - Run the
adb shell screenrecordto start recording
cd /Users/myusername/Library/Android/sdk/platform-tools
./adb shell screenrecord /sdcard/myapp.mp4
- Press
Ctrl-Cto stop recording when done - Copy the video from the device to your computer:
./adb pull /sdcard/myapp.mp4 \local\path
Additional resources and options can be reviewed:
With this, you can now easily record videos directly on an Android device.
Recording with an Emulator
Alternatively, apps can be recorded using the official or genymotion emulators. The easiest way to record your screen on OSX is to use the Quicktime Player:
- Launch Quicktime Player
- Select
File => New Screen Recording - Click “Down Arrow” next to Record to Configure Microphone
- Drag to Select Emulator Bounds
- When done, hit “Stop” icon in Status Bar at the Top
- Download and use Handbrake to compress the video.