I want to write an app in Android Studio for my son that when he press a button, an image in image view show and play a sound then after a few second ,automatically the next image with next sound played, and so on, This process continues when another button is pressed to display another images and sounds.
How do I do this loop replay audio and switch images?
Thank you for your help
Related
I'm playing video from URL in ExoPlayer and caching it using SimpleCache.
My app has a feature that the user can save video if he/she wants.
My video playing layout has a save button if the user click on that I want to save that video in his/her mobile gallery.
How can I achieve that? & what is the most effective way? Is there any way to save the cache video in gallery? One thing if user click the button before the download completed what should I do?
And one thing I'm playing a list of video in recyclerView if the user clicks on the save button and scrolls up/download I think the download will be distributed ,I think I have save video in a separate thread !!
I have music list screen and when press to play the music, the small music player is show at the end of the screen. If click or scroll up, full screen music player will show. User can click button to collapsed the full screen music player. I am using sliding_up_panel plugin to achieve this.
So my question is that I want to show the small music player on every screen in the app if music is playing.
May I know how where to put SlidingUpPanel?
Regards,
Alex
It will need to go in or above or in your router. You could put it in a Stack widget, where one layer is your player widget and the other is your routed view.
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.
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.
I am basically running a set of video tracks using a custom media player. Every thing works fine until I press home button or go to any other screen, then on after returning to the video play screen I can only hear the audio track as the videos play and screen appears black.
I would also like to highlight another issue for which i have got a stop gap arrangement, which is when i switch videos in the playlist, the surface view retains the last frame or image of the video that was previously played. I have tried to invalidate(), force the layout and all possible ways to refresh screen that i could think of, yet I couldn't find an appropriate solution for both of the issues mentioned.