Right here: http://code.google.com/android/reference/android/content/Context.html#bindService(android.content.Intent,%20android.content.ServiceConnection,%20int) I am using this and got the expected result.
On Dec 22, 6:29 pm, Moto <[email protected]> wrote: > Hi all, > Currently I'm trying to make an Activity attempt to bind to a > Service. I don't want this Activity to start the service if the > service wasn't running. > > Is there a way to bind to a service without starting it if it wasn't > running? > > My goal is that one Activity is the only one that can start and finish > the Service. Other activities just try to hook to the Service if it > was running. This other Activities use callbacks to display Service > status. > > Thanks for your time and help! > > Regards, > Moto! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

