Are you sending a full RemoteViews update each time?  (The AppWidget
framework only keeps the last RemoteViews sent, and reapplies it when
needed, such as after a screen rotation.)

For example, if you only set the PendingIntent once, and have a second
RemoteViews update that doesn't include it, the PendingIntent will be
lost when the screen is rotated.

j

On Tue, Jun 16, 2009 at 10:16 AM, d2dadd<[email protected]> wrote:
>
> I have a widget button that responds to user's clicks. My design is to
> assign the click event handler to calling a service in OnUpdate. It
> works fine when first created, but it stops responding after user has
> opened and closed the keyboard. How to fix this?
> Many thanks.
>
> >
>



-- 
Jeff Sharkey
[email protected]

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