Hi,

I want to present a yes/no dialog when user enters back, on main activity
'are you sure you want to quit? ' And if they click ok, quit the
application.

To do this I show a dialog in onDestroy() that asks yes/no question but
that doesn't work. What is correct way to implement 'are you sure you want
to quit the application' dialog?

-Subodh

-- 
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

Reply via email to