I've got a main activity that starts it's own service - if it's not already started by the system on boot.
Right now I'm doing the bindService() call in onStart() and unbind in onStop(). The problem is onStart() calls do not match onStop() - no 1:1 correlation. Activity life-cycle explains that. So where should I put them - onPause() onResume() ??? Also when I call bindService() - I call startService() - incase it's not already started. Is that ok??? bindService(intent, context, this, Context.BIND_AUTO_CREATE ); startService( intent ); If it's already started by the system - it won't create another service - right??? -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

