westmeadboy wrote:
> From examples and tutorials I've seen, this call is normally made when
> the app widget is updated. Typically, this happens when the the widget
> is added to the Home screen and then also periodically according to
> some configured time interval.
> 
> But is this really necessary? Isn't once (when the widget is added to
> the Home screen) enough or are there some lifecycle issues to consider?

Well, presumably, you want to change what the widget looks like from
time to time.

If you have a compelling widget that does not need to change, or you are
changing it based on other criteria, set your updatePeriodMillis value
in your widget metadata to 0, and I believe it will never get updated
automatically.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

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