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 screen-locked. This is good - improves battery time and performance. The bad side of this, though, is that since WiFi state can change while the widget is not visible, I have to request frequent scheduled updates in my <appwidget-provider> xml descriptor to bring the widget completely up to date when it's scrolled into view or phone screen is unlocked. After the widget comes into view and is updated, further updates could be driven again by android.net.wifi.* notifications, but 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? -- Kostya Vasilyev -- http://kmansoft.wordpress.com/sw/ -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

