i create two separate intents using new Intent(context,
MyActivity.class).

I need to know which button was pressed so I add intent.putExtra(...).

But since these are pending intents, it always sends the first one.

how do I launch the same activity from the same app widget, but with
different intents (pun intended).  I since I can't shove something to
differentiate the requests inside the "extra" portion, is setData()
the only other way?

tia.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to