Have you read the doc : $ANDROID_HOME/docs/guide/topics/ui/
dialogs.html#AlertDialog ? Maybe it will help you.

On Nov 1, 2:39 pm, notenking <[email protected]> wrote:
>  I want to show a dialog to ask player "play again ?" when the game is
> over.I find the code can only add in a activity for dialog is a part
> of activity,But I should show the dialog when the game is over,in
> other words ,I should know  the time  game is over.how can I do this?
>
> any advices or example code with be appreciate.
>
> notenking

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

Reply via email to