The service is started automatically when you bind to it and stopped when the last "customer" unbinds from it. In this way, multiple activities or applications can all use the sensor service and it gets started and stopped by the system as appropriate.
On Sep 2, 1:34 am, Paolo <[email protected]> wrote: > Thanks for your answer! > > well... but how do you manage the service? I explain better... if you > close your app or simply you don't need your activity anymore, what > happens to the service? Do you stop it? > -- 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

