I have an activity and an intentService in the same application. The service must keep running after the activity ends so I do not want to bind. I have been googling for hours and can't find a single good example of how to do this. I'm able to start the service and pass extras to it but now the service has to use Messenger to send data back to the activity.
I read that this process basically involves... Calling Message.obtain() to get an empty Message object Populating that object with whatever data is needed Calling send() on the Messenger, supplying the message as a parameter
But I can't find any code examples on how to do this.
several posts refer to a messengerService example in the SDK sample APIDemos, which I have, but I can't find anything there. thanks, Gary