can you please show me the sample code?
On Jan 27, 6:12 pm, Mark Murphy <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---