• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

HELP: App Refreshes Upon Bring to Foreground

raytracedweb

Lurker
Apr 5, 2021
1
0
Hello... Ive got an app that is utilized to connect to a brand of baby video baby monitors. The app is fairly feature rich. It can record, has two way audio, supports multiple resolutions, etc.

The issue at hand is that the app performsv well when it's front and center. It even works efficiently in the background. One can open the app, start a recording with sound, then minimize or pop-up/multi-window the app and it'll still record and play the audio... But as soon as you go to bring the app back to the foreground, it refreshes nearly (or possibly) everything. The recording send audio gets cut off, the video loading screen resets, is almost as if you're just starting the app for the first time since it was last cleared from memory. It still retains your login and all that, but it's an amazingly counter-productive glitch.

I was wondering what line of code i should be looking to modify, or add, to make it so the app keeps running fluidly (?)
 
Hello... Ive got an app that is utilized to connect to a brand of baby video baby monitors. The app is fairly feature rich. It can record, has two way audio, supports multiple resolutions, etc.

The issue at hand is that the app performsv well when it's front and center. It even works efficiently in the background. One can open the app, start a recording with sound, then minimize or pop-up/multi-window the app and it'll still record and play the audio... But as soon as you go to bring the app back to the foreground, it refreshes nearly (or possibly) everything. The recording send audio gets cut off, the video loading screen resets, is almost as if you're just starting the app for the first time since it was last cleared from memory. It still retains your login and all that, but it's an amazingly counter-productive glitch.

I was wondering what line of code i should be looking to modify, or add, to make it so the app keeps running fluidly (?)
first off there is no code for you to manipulate. what phone do you have? have you tried uninstalling and re-installing the app? how much memory do you have on your phone?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones