Hi,

i'm having a difficult time understanding the right way to do this. To
put it simply, i want to generate a reaction within my own widget
(e.g. i press a button so a TextView changes) - i don't want to launch
a separate activity.

Here's some code from my onReceive function (from the widget):

mRemoteViews.setOnClickPendingIntent(R.id.widgetLeft, whatToPutHere);

R.id.widgetLeft is a button. Is there something i can put as a
PendingIntent that would trigger that same onReceive function? Is the
only way to do this through a separate service?

Thanks,
Teo


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