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
Post a Comment