Saturday, November 21, 2009

[android-developers] Re: Reusing intents with notification/pending intents

Does anyone have suggestions on this?
I appreciate the help!

On Nov 19, 5:38 pm, jsdf <jasons...@gmail.com> wrote:
> Hi all,
> A quick question (for those who know the answer, anyway):
>
> In my app, user starts a service and shows a notification from
> activity A.
> The notification creates a PendingIntent that will invoke activity A
> should the user tap on it.
> The problem with this behavior is that, if the user starts the service
> (which shows the notification), drags down the notification bar, then
> taps the notification, I now have two activity A's in the display
> stack, one on top of the other and both exactly the same.
> How can I re-use the original activity A in this situation so the user
> isn't duplicating activities?
>
> Thanks,
> jsdf

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