On Thu, Dec 4, 2014 at 9:15 PM, Peter Teoh <[email protected]> wrote:
> 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 :-). I'm not sure what you're asking. The OP didn't ask anything about killing a specific thread. He question was about killing a Service without killing the entire hosting process. On Thu, Dec 4, 2014 at 9:44 PM, Peter Teoh <[email protected]> wrote: > a service is a thread in a process, What? No it's not. Where'd you get that? http://developer.android.com/reference/android/app/Service.html#WhatIsAService Second bullet point: "A Service is *not* a thread" > and start/stopping services basically is kill and starting the thread > itself. What? No it doesn't. Where'd you get that? > and I supposed normally processes will have maximum of one services > right? (other threads are non-services related) not sure. What? No it won't. Where'd you get that? ------------------------------------------------------------------------------------------------- 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.

