Monday, April 25, 2011

Re: [android-developers] AlerDialog inside onRecieve

You can launch an Activity themed as a dialog (in the manifest).

However, an activity popping up all of sudden does not make for good UI.
The usual method is to post a Notification to the status bar, which the
user can then use to launch the activity.

-- Kostya

25.04.2011 22:49, Alaeddine Ghribi пишет:
> Hello,
> I read the documentation and i found that i can't add an AlertDialog
> inside onReceive method(http://tinyurl.com/3ghtswd). However, i want
> to add a confirmation Dialog when receiving a call. How can i do
> this ?
> Thank you very much.
>


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate