views:

210

answers:

1

Hello,

I wanted to know what is the difference between Context.startService(intent) and startService(intent) and does it matter which one is used?

Thank you

+2  A: 

There is only one startService() method. startService() is a method on the Context class, available to all subclasses of Context, like Activity or Service.

CommonsWare
Why some use Context.startService(intent) instead just startService(intent)?
mnish
You would have to ask them. It is not necessary.
CommonsWare