When should I start and stop my notification service?
===

I don't want the notification service to be working while the user is in the application.  As of right now I have it starting in the onCreate and onResume methods and stopping in the onPause method.  Is that correct?

Also, is it sufficient to specify the intent and execute stopService(intent) to stop it?  There isn't a direct relationship between the start and stop methods except they reference the same class.

Thank you for any help.