title: Binding to Service in onCreate() or in onResume()
body: <p>I want to know what is the best place in an Activity to bind to a service?
  I saw examples doing it in <code>onResume()</code> and also in <code>onCreate()</code>. I was asking myself if it is not a problem putting it into <code>onCreate()</code>, because in <code>onPause()</code> I will do a unbind to the service, so I don't get a serviceConnectionLeak, if I leave the activity. Now if I press the Home Button and then switch to the Home Screen, the Activity will unbind from the service, when I go back to the Activity from the Task Manager, then <code>onCreate()</code> will not be called and if the code is trying to access a function from the service I will get a NullPointerException. If I bind and unbind only in <code>onResume()</code> and <code>onPause()</code> I don't have this problem. Am i right?</p>