On Nov 3, 2:30 pm, Brion Emde <[email protected]> wrote:
> > This result might (I'm speculating) be because the onCreate() methods
> > of the Activity and the Service are guaranteed to complete in their
> > lifecycle. So maybe Android only lets one of them run at a time?
>
> This is very true. Since the Service runs in the UI thread, along with
> the Activity, all that is really happening is that a message is being
> sent to start the Service. It isn't actually started until you have
> left the Activity and the UI thread gets around to processing the
> messaging queue and starts the Service.
>
Thanks for clarifying that.  Makes sense.

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

Reply via email to