Mark

AppWidgetProvider being a BroadcastReceiver, it can't register for
AlarmManager with broadcast intent. So how to handle this.
Am I missing something obvious here? How to achieve this?

// Thote Gowda GR

On Oct 4, 5:28 pm, "Mark Murphy" <[email protected]> wrote:
> > I need to provider an access for the user to customize theupdate
> >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 toupdatethe 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