On Thu, Jul 15, 2010 at 2:46 PM, Jake Colman <[email protected]> wrote:

> When extending Service with your own Service, should you be calling down to
> the super implementation of the methods that are being overridden?
>

Considering that:
A - The sample in the documentation for Service does not and
B - Activities explicitly require that you call up to the overridden
functions but Service does not and
C - I don't and everything works just lovely

I would say no, you don't need to.


> If so, do you do it before or after you've invoked your own code?
>

Try both, see what happens. Or maybe someone who's looked at the source can
let us know what those functions do in Service, if anything. I'm assuming
they do nothing and are there are hooks for your code.

-------------------------------------------------------------------------------------------------
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 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
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to