Capture video of running android application and then play it - android

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.

Related

disable screen record with sound in flutter

I am trying to disable screen record and screenshot in my flutter app and I already did using flutter_windowmanager package.
my problem is with screen recording, the sound of the video inside th app is still running and recorded by screen recording !
any suggestions for also preventing sound record ?
No. If your app is playing loud enough the microphone can hear it, it can be recorded. There's no way to prevent that- algorithmically canceling out sound from one source in an audio recording like that would be difficult, if not impossible. Nor would it really buy you all that much- they could always just hold an external mic up to the phone (they can also just capture your app with a second camera, which makes removing video recording also of limited use, if done to prevent a user from recording).
The one thing you could do is claim the mic yourself and not give it up. But that would be annoying to anyone actually using your app. And wouldn't rpevent capture with an external device of course.

Switch playing video to another video on chromecast device

I created a one sample app to validate filters for playing video on Chromecast.
When my device connects to Chromecast, it shows that it is connected and I'm able to play a video on Chromecast device. However, If I want to switch another video, I'm able to switch it and video plyaing also works fine.
But In this case, I want to update the UI, weather I'm playing a first video or second video? Is there any specific callback to know the mediaplayer status based on user selection on different videos.
Thanks in Advance!!
There is a lot of callbacks/listeners that report various changes that happen on the Cast side, such as OnMetadataUpdatedListener or OnStatusUpdatedListener (on Android sender side, similar ones exist on other platforms); I suggest you read our documentation and look through our sample or reference apps and then come back here with issues that you are running into, if any.

Android Vine/Instagram style video recording

I am asking for some pointers or guidance on how to implement the video recording feature that vine and Instagram use on Android.
That is, when user tap and hold, the video start recording. When user release, the video recording pause, but when user tap and hold again, the video will continue recording until it reaches a limit of X second.
Thank you
I received same task several days ago. I would like to share my thoughts with you, I think You could record several files (MediaRecorder.start() / MediaRecorder.stop() will produce several video files) and combine them in one. For combine process MP4Parser looks nice.
Hope it helped you ;)

App Inventor App is too slow

I've developed a simple test app for Android with App Inventor. I've sent the .apk file to my smartphone, installed it and test it.
The app has only a screen view with 2 buttons: play and stop. Play starts the Player play method with a streaming server url string and stop button stops the Player.
The problem is that when I tap Play button, it remains in active state for a long time, until the Player starts to sound. When I tap Stop button, the Player stops immediately the Player but the button remains in active state for a long time like the Play button.
There are no other methods, screens or components.
At the moment the app is "unusable" because of it takes a very long time and I'm sure that the users should close the app.
Why? Which is the problem?
The problem is that the phone spends a lot of time opening the file. Unfortunately the App Inventor is very simple and it doesn´t have a lot of other media tools. You can put a progress bar while the file is charging, but there aren´t many solutions...
Remind that the problem should be in the process of download the file instead of the phone. If you put the audio file in the app resources, it will take you less time.
If you could make the app with Eclipse, you would have more options.
Hope it´s useful

Android, How to Play song while i'm capturing video from camera?

when user clicks a button i nee to direct him to a page which it has list of songs. Then when an items selected by user the i need to play song and let him to capture movie together. Its something like karaoke.
Is it possible? please tell me how can i find a reference?
Thanks
Yes it is possible, I can tell because my cam playing button click sound when I am recording.
I don't think you need a service for that, just try using MediaPlayer
Use of service will help in this case. For this you need to create two services, one for recording video and other for playing music. Through your main activity control both.
I hope it solve the work. But as per the devices seen like samsung devices, they dont provide this functionality. When camera recording is done, you cant play music.
Logically using service we can do the task.
Let me know if it works :)

Categories

Resources