Skip to content

Recording Video of an Android Device

Roger Hu edited this page Sep 12, 2018 · 5 revisions

Overview

This guide is about how to record a video from a device. This can be done two ways:

  1. Using Android Studio
  2. 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

  1. Connect your device to the computer using USB
  2. Open up the terminal and find the path to adb executable on your machine.
  3. Run the adb shell screenrecord to start recording
cd /Users/myusername/Library/Android/sdk/platform-tools
./adb shell screenrecord /sdcard/myapp.mp4
  1. Press Ctrl-C to stop recording when done
  2. 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:

  1. Launch Quicktime Player
  2. Select File => New Screen Recording
  3. Click "Down Arrow" next to Record to Configure Microphone
  4. Drag to Select Emulator Bounds
  5. When done, hit "Stop" icon in Status Bar at the Top
  6. Download and use Handbrake to compress the video.

References

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.

Clone this wiki locally