-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Recording Video of an Android Device
This guide is about how to record a video from a device. This can be done two ways:
- Using Android Studio
- Directly through ADB
Open Android Studio. First, go to your menu and View
-> Tool Windows
-> Logcat
. To take a video recording of your app, see these instructions.
- Connect your device to the computer using USB
- Open up the terminal and find the path to
adb
executable on your machine. - Run the
adb shell screenrecord
to start recording
cd /Users/myusername/Library/Android/sdk/platform-tools
./adb shell screenrecord /sdcard/myapp.mp4
- Press
Ctrl-C
to 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.
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.
Created by CodePath with much help from the community. Contributed content licensed under cc-wiki with attribution required. You are free to remix and reuse, as long as you attribute and use a similar license.
Finding these guides helpful?
We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.
Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.