The appIntent and contentIntent intent arguments provided to the NotificationManager constructor, can only be used to start a Activity. You can make an Activity with android:theme="android:style/Theme.Dialog", to make an activity that looks like a dialog. Once that is done, you can use the various Intent.getXXXExtra()/putXXXExtra() methods to send and receive data.
Thanks, Megha On Sat, May 10, 2008 at 11:40 AM, WildLuka <[EMAIL PROTECTED]> wrote: > > hi all, > > As the documentation itself says, you may not show a dialog from an > intent receiver. Instead one is advised to use the > NotificationManager. > > So, what I need to do is to show a Dialog and pass some data to it, > from the notification manager. I was thinking of using the Intent to > that purpose, however, I'm not at all sure how to retrieve the data > itself from the Dialog. > > Anyone at all ? > > thanks in advance guys. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

