The service doesn't do much right now - in fact I'm not creating a worker 
thread in onStartCommand()

But it is a listener for some system callbacks - but later I might add a 
worker thread - will always be running.

Basically I want a single instance of the service running all the time.


I read your reply and what's happening is that Service.onCreate() is being 
called when called from Activity.onCreate() 
- so I guess the old service was deleted.

But if it's being deleted - Service.onDestroy() is not being called.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to