The updatePeriodMillis value defined in XML is static, and can't be
changed at runtime.  So yes, you'd have to implement your own
AlarmManager-based timing to allow the user to change intervals.

j

On Mon, May 25, 2009 at 2:23 PM, Mark Murphy <[email protected]> wrote:
>
> Let us suppose we want an AppWidget where the user, via the
> configuration activity, can change the frequency with which the
> AppWidget is updated.
>
> Can we modify updatePeriodMillis in the AppWidgetProviderInfo object for
> this AppWidget and have that take effect? Or do we have to implement our
> own AlarmManager-based update timer?
>
> Thanks!
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android App Developer Training: http://commonsware.com/training.html
>
> >
>



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