This is probably a question for Dianne:

The Android 2.0 SDK introduces the startForeground() API which makes
it much less likely that a background service (and therefore a given
process) will be killed.

Suppose there are two services within a process, and one of those
services has called startForeground() while the other has not.  Will
the one foreground service "protect" the other non-foreground service
from being killed?

I'm specifically looking at a case where there could be multiple
services within a process, but coming from different APKs.  So these
would be APKs signed with the same signature, and given the same
sharedUserID and process in the Android Manifest.  I'd like to avoid
having to post a notification for each individual service, as that
would likely annoy users.


Thanks!
Carter

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