Saturday, April 25, 2015

Android device screen cast or screen recording using command prompt in windows machine.


Follow below steps:

1. Open command prompt (cmd) in windows (click window+R, type cmd in it and press enter)

2. Go to adb (android debug bridge) platform tools, it will be in your android sdk folder:
     Example - C:\Users\abc\AppData\Local\Android\sdk\platform-tools

3. Connect your android phone

4. Run command to record: adb shell screenrecord --verbose ./sdcard/record-video.mp4

5. To stop recording, press: Ctrl+C