Suppose you want to record and replay screen activities on Android device, as part of app demonstration or app review. While there are several Android apps that can record screen natively, they have a number of drawbacks, such as software bugs, device incompatibility, or root requirement etc. If you don't mind connecting your Android device to desktop PC, there is a more reliable and device-agnostic way to record Android screen.
In this post, I will describe how to record screen activities on Android as a video by using an open-source Desktop application called androidscreencast. Since androidscreencast is written in Java, you can run it on Linux as well as Windows and MacOS. Your Android device does not need to be rooted for this.
First, install Android SDK.
Next, install Java run-time. For example, on Ubuntu or Debian:
Connect your Android device to your Linux through USB cable. Verify that the device is successfully detected by Android SDK, by running:
List of devices attached 3931F425198800EC device
Finally, launch androidscreencast as a Java Web Start application as follows.
$ javaws androidscreencast.jnlp
Once androidscreencast is successfully launched, you will see the screen of the connected Android device appear on your Desktop PC as follows.
To record screen of the connected Android device, just click "Record" button on the top. The recorded screen will be stored as .mov QuickTime video on your Desktop.
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to set up Apt caching server on Ubuntu or Debian - February 7, 2016
- How to monitor OpenFlow messages with packet sniffer - February 2, 2016
- How to search multiple pdf documents for words on Linux - January 13, 2016