Hi, Looks like your code updates the widget using two steps: pending intents and then the current data state.
You need to make sure that each RemoteViews update specifies complete state, including all pending intents. So in this case, just create only one remote views object per update, and use it to push both pending intents and current data. 27.05.2010 22:02 пользователь "Dirk Vranckaert" <[email protected]> написал: Hey all, I'm currently developing an Android widget but I am experiencing some issues. So when I added the widget to my desktop (both on emulator and real devices) the first time it always works. However sometimes it stops working, sometimes when you remove it and add it again it doesn't work anymore. A little more into detail. My widget has 2 buttons. Upon clicking those buttons an activity gets launched. The code that configures this is available over here: http://pastebin.com/TWp4mLDH However when I say the widget does not work anymore, what I mean is that clicking one of the buttons does not result in an activity getting started. The widget-buttons light up orange as should be but no activity gets started. Here you can see the logs when I add the widget to the phone, in the first part of the log it does work, in the second part it doesn't. Altough I cannot see any difference in the logging ==> LOGS: http://pastebin.com/z2yxzjsi All the project's code is available over here: http://code.google.com/p/workregistrationwidget-android/ I really can't think of anything I would be doing wrong! Kind regards, Dirk -- 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]<android-developers%[email protected]> For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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

