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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -