Problem closing app on Android when many screens are open

Asked

Viewed 148 times

0

Before starting the App I need to do some validations, so I created a Splash screen where they are made. So to prevent the user to return to the Splash screen when he presses the back of the device on certain screens I close the application using MainActivity.finish (also tried using the method Terminate of the service described in this link http://docwiki.embarcadero.com/Libraries/Rio/en/FMX.Platform.IFMXApplicationService). But in Android an Application is not completely terminated, it is in the task stack so that if the user decides to reopen it starts fast. THE PROBLEM IS: When they were opened up to 4 screens works as expected, now if they were opened more than that when you try to open it again after closing gets on the "white screen of Android", hangs and will not.

  • Why on Splashactivity when calling the next Activity you do not Finish() on it ? so the user will have no way to return to it at all.

  • I’ll test it this way, thank you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.