Mark,
that works for Alerts if you have only ONE activity in your app.
For example purpose it is great. For real life it is misguiding.
I couldn't find a solution yet.
How do you show AlertDialog from a subactivity!?
Ciao,
Tommaso
On 27 Jan., 15:00, Mark Murphy mmur...@commonsware.com
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
can you please show me the sample code?
On Jan 27, 6:12 pm, Mark Murphy mmur...@commonsware.com 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
manoj wrote:
can you please show me the sample code?
ApiDemos/src/com/example/android/apis/app/AlertDialogSamples.java in
your SDK's samples/ directory uses AlertDialog.Builder.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0
4 matches
Mail list logo