1. If you know the two components are running in the same process, just follow the LocalService sample code to directly call between the two.
2. You can create a PendingIntent to deliver a result to an activity. That PendingIntent can be given to the service either as one of the extras in the Intent given to startService(). 3. You can use Messenger to perform message-based communication back and forth between the service and activity. Just create a Handler in the Service, return the Messenger from it as the onBind() result, and have the activity connect and send messages through the Messenger. The activity can send back its own Messenger for the service to deliver messages to it as needed. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

