manoj wrote: > Hi friends, > > I want to display an alert asking "do you want to exit from the > application yes/no?" before exiting the application (when we click the > Back button). > > Can any one please help me how to achieve this?
Probably you will want to use AlertDialog, perhaps created using the AlertDialog.Builder class. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---