Sean Hodges wrote:
> You will, however, have to deal with all the resource consumption
> issues that go with it. A 5fps update on the home screen is likely to
> drain the battery pretty badly when the phone is idle.

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()).

It's another advantage that a replacement home screen has over app
widgets -- you can find out when the home screen is no longer visible.
App widgets could only find out about ACTION_SCREEN_ON and
ACTION_SCREEN_OFF.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to