08.12.2010 23:55, Moto пишет:
Now for communicating with an activity I'm seeing two issues.
1. What if the service is controlled only by intents and the service
dies... The activity using this service would have no clue that it
died unless I'm bound to it...
You can improve your chances by binding to the service when one of your activities is on the screen.

This gives the service "foreground" state, which Android tries to avoid killing even in out of memory situations (it will kill other services first).

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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