android - Update a Widget when user switches to sleep mode -


i have created little app widget, , want widget update when user switches sleep mode (or whatever mode called when short-push power button).

i have searched around no avail. tried registering broadcastreceiver, not allowed in widget.

if not possible, means widget has wait updateperiodmillis timeout, that's @ least 30 minutes , kind of breaks user experience.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -