> I need to provider an access for the user to customize the update
> period.
> But the appwidgetpoviderinfo just can be defined in XML.
> How to implement this?

Step #1: Set updatePeriodMillis to be 0

Step #2: Use AlarmManager (and perhaps PowerManager.WakeLock) to set up
your own alarm to invoke your code to update the widget

Step #3: There is no step #3

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



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