I would like to create some home screen app widgets that are
entry points into an application.  I can put a button in the app
widget
that uses setOnClickPendingIntent to start the activity.

The problem occurs when I want to have two of these app widgets that
are
entry points to different parts of the activity.  I need to be able to
pass data into the activity that will distinguish these.

Since both app widgets use a PendingIntent that starts the same
activity,
the two PendingIntents are shared and I can't reliably set extras for
the corresponding intents.

Any ideas how to solve this problem?

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

Reply via email to