Android Screen recording event into my Android application - android

I want screen recording event into my Android application, for example some third party application start to capture or record screen at that time my Android application detect that event and show one warning dialog to user that detect screen recording.
if any one know about this please help me about this. I am searching about this but all tell about "FLAG_SECURE". I want Event of screen recording not restrict screen recording.

Related

build screen recorder with expo

how can I build a screen recorder with expo react native. I want the screen recorder to capture whatever comes on the users screen except of any sensitive data ofcourse and then after recording is stopped by the user, it must convert the entire recording into a video and place it in the users view or basically show the video in the expo app. Another question is, will it be possible to make the screen recorder capture only one specific app while making the screen go black if the user switches to another app while recording?
Any help will be greatly appreciated.
Thank you

Is there any solution exist for screenrecorder android app that only record specific app or game but do not record any overlay or notification

I want to create a android app for screen recording. I only want to record specific app or game and don't want to record any overlay or notification that comes when recording any specific game or application
That kinda difficult but you can use PACKAGE_USAGE_STATS permission and check using package name which app is opened and turn on and off recording according to it. after that merge all the videos into one. I guess this is the only way to do it.

How to use background camera and foreground camera simultaneously?

My new application requirement is client wants to create a spy camera which record the video in background. Now whenever the phone is lock and user is not present so in the absens of user someone try to use the phone it will start video recording in background recording. I have done all this thing and it works like a charm no issue with this.
Now the problem is when the service start video recording in background and at that time I open my default camera app and it won't allow me to use the camera application that is but obvious because my service using that camera in background.
So my question is that can we use both background camera and foreground camera simultaneously? AFAIK it is not possible to use background camera and foreground camera.
As I searched on stack overflow someone said that Samsung s4 default application do that you can capture front and back and its I have s4 and its default application do that thing but when I installed and use my app it raise the same issue.
Right now I am planning to stop video recording when my default camera application open. But is their any other way apart from stop recording?

Record Video in Background

I have an application in which I want to record the video in background. The main steps of the process are:
When the app starts, a play icon is displayed.
On clicking the icon, video recording should start. User should NOT have to press the red record start button of the native camera application. The app needs to display that recording. After 10 seconds, the recording should stop automatically and save the video directly.
If the user switches between the application, the video recording should continue recording even in background.
I would be glad if at least the step 2 of the process is solved. I did look into backgroundvideo plugin here. But it did not help. Also, I tried with media-capture but I have to press the record and stop button.

Capture video of running android application and then play it

I have developed one application in android and now I wish to add one more functionality in it. I want to capture the video of my application, means there will be one button and when user clicks on that button it starts recording each and everything which user do in the application. Let say user has press 2 buttons and play some sound, animations, etc. This all should be recorded and when user stop recording it gives options to play the video. I got this idea from the Talking Tom app available in android market.
Here is the link of that app.
Talking tom
See the screens, on the top of it the button of movie is there, which is used for recording whatever the user will do after pressing that button will be recorded and then play it, so it will play all the recorded things.
I want to do the same thing, if anyone is having any idea please kindly let me know.
Thnaks
Beside recording a screencapture, you may can only record the users inputs in an file?
So every method the user calls will be recorded with a Timestamp in that file (or something like that). That can be done by the method itself, so all you have to do for playback is, calling your methods in the same order the user did. Games like StarCraft are recording userinputs and repeat them in playback mode. But your App has to produce excatly the same results with the same inputs, any variations in results will crash your playback.

Categories

Resources