Here’s my take regarding updatePerdiodMillis…

updatePerdiodMillis attribute defines how often the “App Widget
framework should request” an update from the AppWidgetProvider by
calling the “onUpdate()” method.

updatePerdiodMillis attribute does NOT affect the explicit RemoteViews
update called say through AppWidgetProvider code:
appWidgetManager.updateAppWidget(appWidgetId, views); (clock will
continue to tick every second)

Documentation - Yes this needs an “update”  as the 1.5 & 1.6 docs
clearly lists an example of a stock ticker which is updated every 15
minutes:
            The updatePerdiodMillis attribute defines how often the
App Widget framework should request an update from the
AppWidgetProvider by calling the onUpdate() method. The actual update
is not guaranteed to occur exactly on time with this value and we
suggest updating as infrequently as possible—“perhaps no more than
once an hour to conserve the battery”. You might also allow the user
to adjust the frequency in a configuration—some people might want a
stock ticker to update every 15 minutes, or maybe only four times a
day.

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