Hi Prajakta,

Not sure here - but I dont think you really need to call stopService.
Stop service is usually used when you have started your service with
startService(). Unbind service is used when you started the service
with bindService. If you really needed to kill your service when
unbinding then you might use stopSelf() in your services onUnbind()
method which I believe is called when there are no remaining bound
services.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to