On Fri, Dec 5, 2014 at 10:45 AM, TreKing <[email protected]> wrote:

>
> 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
>
>
>
I am curious what API or method Android used to kill a specific thread in a
process too.....but your link above did not say anything on that?   Please
enlighten me :-).


-- 
Regards,
Peter Teoh

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