I was puzzling over this one, but I agree that a new home screen is a good idea. It will give you the flexibility you need to display custom views, at a suitable refresh rate.
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. On Mon, Feb 15, 2010 at 7:16 PM, Mark Murphy <mmur...@commonsware.com> wrote: > JP wrote: >> Yeah, it would be desirable to also get a more sophisticated view >> model. Ideally one that allows the reuse of whatever dynamic was >> developed for the main app, in the spirit of polymorphism. But here we >> are, and the current model won't change, I take that for certain. > > If you want something updating on the home screen every second, write > your own home screen, so it can all stay within a single process. > >>> I could tweak >>> the 30 minute update time but it doesn't helps too much - the >>> appwidget framework is simply too slow with all that serialization and >>> would eat too much CPU. > > Correct. That's because Android is trying to blend both features (app > widgets) and security. > >>> What other solutions can be used? > > You could write your own home screen. > >>> I've seen that a system service (LoadAverageService for example) would >>> do the job but that one is not really configurable, has to be compiled >>> into Android so I kinda don't like it. The same is valid with custom >>> app screens or any other solution which needs an custom Android build. > > Your own home screen does not need to be part of a custom build. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! > > -- > 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 -- 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