how to exit android app
Android apps don’t actually stop running when you return to the home screen or switch to another app. there is no real need to exit an app unless it is misbehaving. The app" in the android application model. please see here for more if you want the user pressing the back button to close your app... well, first,. It's the eternal question for android users: "how do i close android apps?" however, the issue is a little more complicated than that.
Accually there are two situations. 1. you may want to exit from activity 2. or you want to exit from application. you can exit from activity using. How to exit from the application and show the home because when i exit the app and then add below lines in ondestroy for removing force close. android. How to quit android application programmatically. ///// // close app method.
0 komentar:
Posting Komentar