Recording a device screen
screenrecordcommand is a shell utility for recording the display of devices running Android 4.4 (API level 19) and higher. The utility records screen activity to an MPEG-4 file, which you can then download and use as part of a video presentation. This utility is useful for developers who want to create promotional or training videos without using a separate recording device.
To use the
screenrecordfrom the command line, type the following:
$ adb shell screenrecord /sdcard/demo.mp4Stop the screen recording by pressing Ctrl-C, otherwise the recording stops automatically at three minutes or the time limit set by