You're a darling. That's exactly what I need :-)
On Nov 10, 11:14 pm, hackbod <[EMAIL PROTECTED]> wrote: > Make your activity's launch mode singleTop and you will get the intent > in onNewIntent(). If it could have other activities running on top of > it, consider using the CLEAR_TOP flag. > > See the section here on Launch Modes and Launch Flags for more > discussion on interacting with notifications: > > http://code.google.com/android/intro/appmodel.html > > On Nov 10, 1:02 pm, Christine <[EMAIL PROTECTED]> wrote: > > > On Nov 10, 6:54 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > > Is it returned by Activity#getIntent()? > > > It turns out it is, but not always. If the Activity the intent is > > going to is already in memory, it gets to the front and nothing really > > happens. OnCreate doesn't get called so no chance to get the Intent. > > After closing the activity, you do catch the notification when > > clicking the icon. > > > > Note that I haven't tried that with a Notification-launched activity. > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

