Lorenz wrote: > I'm realizing an application in Android .I want to use a botton(like > "EXIT") to exit from this application, namely when I push this botton > I want return in the main menu of the phone.. is there any way to do > this action?
You can call finish() at any point in your activity to close up that activity, and if you do that from the first activity, it will return the user to the home screen. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Android OSS project? http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---