On Thu, Dec 4, 2014 at 11:32 PM, Peter Teoh <[email protected]> wrote:

> well...you contradict yourself:   same URL you quote:
>
> "Note that services, like other application objects, run in the main
> thread of their hosting process."
>
> So, ok, service is not a thread, but the "main thread" is running the
> service.  And therefore, everything is still implemented as threads.
>

That is in no way contradictory. You seem to be confusing terms.

"Service runs *in* a thread" is NOT the same as "Service *is* a thread",
which was your original claim. Obviously everything that runs is doing so
within some thread in its process, be it the main UI thread or a secondary
dedicated one.

So the idea that a Service is not a thread but does run within one is in no
way a contradiction.

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