Tuesday, November 23, 2010

[android-developers] Intent and extras

Hi!
I set an PendingIntent on a Notification
(notification.setLatestEventInfo). this intent is actually the same
intent used to launch my app, only with a flag that I put in the extra
(intent.putExtra(TAB_INDEX_PARAM_NAME, UPDATES_TAB_INDEX)).

So my first activity launches, it queries it's intent's extras and
immediately navigates to an Alerts activity rather the normal activity
on a regular launch.

The problem:
from this point, every activation of my app navigates to this Alerts
activity. when debugged, I find that the flag is "stuck" in the intent
even though I removed/changed it. it just won't change.

do you know how can change an extra on a giving Intent?

Ori

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