On Mon, Feb 15, 2010 at 7:34 PM, Mark Murphy <[email protected]> wrote: > That actually shouldn't be all that bad -- just disable the updates in > ACTION_SCREEN_OFF (and onStop()) and re-enable them in ACTION_SCREEN_ON > (and onStart()).
Good point Mark. It would take a little forward thinking, but then again so would an app widget, if it were possible. Another option might be to implement a live wallpaper with the measurement gauges you want to display. The advantages would be that you wouldn't need to replace the whole home screen to draw, and I think it would also lend well to the resource consumption problem (live wallpapers stop all activity when the home screen is no longer in focus). But there are a number of drawbacks I can think for too: 1) The gauges would be drawn behind the other home screen furniture, and might be obscured by icons etc. 2) I don't think you can use native controls, you would have to draw the display on a canvas. 3) There is less support for live wallpapers on existing Android handsets, compared to support for app widgets and custom home screens. Here is an example: http://www.androlib.com/android.application.addictive-android-wallpaper-powercells-iqAF.aspx -- 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

