Re: [android-beginners] Triggering an AppWidget Update

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 10:31 AM, Jake Colman wrote: > For this widget to work it must be regularly checking the time and the > calendar since at any minute it might be time to display the next > appointment.  Does this mean I have to update the widget's display every > minute?  Clearly not, but h

Re: [android-beginners] Triggering an AppWidget Update

2010-06-24 Thread Kostya Vasilyev
Jake, There are two scenarios involved: 1. Android calls the widget provider's onUpdate() - when the widget is first shown and then regularly at updatePeriodMillis intervals, if specified. Note that automatic updates based on updatePeriodMillis are limited to once every 30 minutes since Andro

[android-beginners] Triggering an AppWidget Update

2010-06-24 Thread Jake Colman
I have some questions about the correct approach for updating an AppWidget's display. Since this is a beginners forum, please let me state what I already do know: 1) I can use android::updatePeriodMillis to specify the update interval. When this interval has elapsed the phone is woken up.