Android Question Record Video of Phone Screen

cambopad

Active Member
Licensed User
Longtime User
Dear all,

I would like to create an app that will be able to record the video of the whole phone screen. Does any body know how to do it? Is there any library to do that?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

cambopad

Active Member
Licensed User
Longtime User
You cannot take screenshots programmatically. The same is true for video recording of the screen.


You can take a screenshot of your own activities.

Thanks you Erel for your reply!
But I believe it can be done (for Android 5+) as I saw many apps on the Playstore can do that. For example, Lollipop Screen Recorder.
Those apps work flawlessly on Android 5.
After searching, I found that Google has enabled an API to allow all app developers to record the video of the phone screen that will work on Android 5.

You can read the news here,
http://www.androidpolice.com/2014/1...n-now-capture-screen-recordings-without-root/

And this is the link to their API page:
https://developer.android.com/reference/android/media/projection/package-summary.html

This is a tutorial on how to use media projection to record screen:
http://www.truiton.com/2015/05/capture-record-android-screen-using-mediaprojection-apis/

But I don't know how can I do it in B4A!
How can I do that?
 
Upvote 0

cambopad

Active Member
Licensed User
Longtime User
Wow! You are so fast for this lib :D! Really thanks you very much! I will take a look at it now!
 
Upvote 0
Top