Thursday, July 14, 2011

[android-developers] How set AppWidgetProviderInfo programmatically?

In http://developer.android.com/guide/topics/appwidgets/index.html#MetaData
it indicates that AppWidgetProviderInfo.updatePeriodMillis is
programmatically adjustable when it says, "You might also allow the
user to adjust the frequency in a configuration". How is this done?

I can see where I can set the AppWidgetProviderInfo (which has in
XML, and I can see where I can *get* the the AppWidgetProviderInfo
programmatically, but how can I *set* it?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment