On Wed, Jun 23, 2010 at 10:37 AM, appsgrrl <bettyoch...@gmail.com> wrote:
> Thanks for replying.   I also have a logging printout in the
> onStartCommand() method, and that does show as being called.
> If onStartCommand() is called, doesn't that mean my startService()
> from my Activity has indeed started my IntentService?

Yes. However, be sure you are chaining to the superclass in
onStartCommand() -- otherwise, you will block IntentService from
dispatching your Intent to onHandleIntent() via the background thread.

> Who ultimately calls onHandleIntent()?

IntentService does.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.6 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to