how to record video of my ongoing screen on kitkat 4.4

隐身守侯 提交于 2019-12-11 08:18:18

问题


I want to know that how can i record video of my ongoing screen in android using Kitkat 4.4. With lot's of search on Google and SO i did not get anything.

I already saw so many link which tell's to record video by connecting device with system using USB and then writing some command in command window, but i want to record video using device only simple like when user's press record button it starts recording and when it press stop button it should stop recording.

I saw some same kind of apps on Google play like

https://play.google.com/store/apps/details?id=com.slimdroid.screenrecoder
https://play.google.com/store/apps/details?id=app.akexorcist.screenrecorder

So basically i just want some guidance that how can i achieve this, if any one have any code example then that will be great help.

Thank you in advance.


回答1:


You can go to the command prompt and locate to your sdk folder. Then fire following command

adb shell screenrecord /sdcard/demo.mp4

This will create a video file name demo.mp4 in your sd-card, and it will record whatever you do after firing above command.

To stop the recording just press Ctrl+C.



来源:https://stackoverflow.com/questions/23807408/how-to-record-video-of-my-ongoing-screen-on-kitkat-4-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!