On Tue, Nov 25, 2014 at 5:08 AM, Oleksii Bieliaiev <[email protected]
> wrote:

> My question is, whether is it possible, under certain conditions (low
> memory, timeout, etc), that Android "kills" our started service separately,
> without killing entire process?


Yes, it's possible. If the process does not have a foreground UI element
(an Activity the user is using or an ongoing notification created with
startForeground) the Service is considered to be "background" and more
susceptible to being killed.

See:
http://developer.android.com/guide/topics/processes/process-lifecycle.html

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to