Hi, I have a widget that displays detailed WiFi state (SSID, signal, etc).
It registers in the manifest to receive various android.net.wifi.* notifications. So far so good. However, these notifications are not sent if the home screen is side- scrolled, or phone is locked. This is good - Android framework notifying only visible widgets improves battery time and performance. The bad side of this, though, is that since WiFi state can change when the widget is not visible, I have to request frequent scheduled updates in my <appwidget-provider> xml descriptor to bring the widget up to date when it's scrolled into view or screen is unlocked. After the widget comes into view and is updated, further updates could be driven by android.net.wifi.* notifications, butt scheduled onUpdate()'s continue to run, which is a waste. Is there a way to register my AppWidgetProvider for a smart one-tme update when it's becomes visible, either after side-scrolling, or after the screen is unlocked? -- 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

