Android Question Unwanted Application Restart

adriano.freitas

Active Member
Hi!

I have an app that uses only one Activity. At times I have been trying to access some services through INTENT, such as camera, etc. I also use Google oAuth login etc. The problem is that INTENT or OAuth always work but often when it comes back the application restarts, as if it was running for the first time and doesn't come back from where it left off. Sometimes everything works out!

Is there any configuration needed, like a kind of timeout or something like that? Does anyone have information about what it might be?
 

josejad

Expert
Licensed User
Longtime User
when it comes back the application restarts

Check this, and don't forget the two links at the end of the post (graphical life cycle and find the bug)

After you wake up from the blackout, check B4XPages again and you will see why it's so powerfull and easy.
 
Upvote 0
Top