I start the service at onStart() and stop it at onStop() // This is how I connect // Start Service this.startService(i);
// connect to service this.bindService( i, this, Context.BIND_AUTO_CREATE); On Mar 7, 9:13 pm, Mark Murphy <[email protected]> wrote: > Moto wrote: > > My activity connects to a Service, and after I get connected I > > register my callback function IRemoteServiceCallback. If I exclude > > this call from my application I resolve the memory leak. Note that I > > do unregister the service callback funtion. > > When do you unregister the service callback function? > > On what version of Android and in what environment (device or emulator) > are you encountering this problem? > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 2.0 Available! -- 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

