title: bindService, unbindService, android and non-sunny-day-scenarios
body: <p>This is more a question about the Android internals to people who stumbled onto similar doubts in the past.</p>
  
  <p>Question is pretty simple in essence: </p>
  
  <p>assuming i have a bind service that delivers certain functionality to applications running in other processes - how can i know if the caller requesting functionality is still there?</p>
  
  <p>assume i have a remote service that implements remote callbacks, like mentioned <a href="http://developer.android.com/guide/developing/tools/aidl.html" rel="nofollow">here</a>, how can i be sure there is still a class to receive the callback? how is cleaning performed? is binding automatically closed when application leaves / crashes, the way it happens with open files or sockets?</p>
  
  <p>and finally:</p>
  
  <p>if a remote application crashes without unbinding from my service, will it keep running, even if that was the last application using the service?</p>
  
  <p>thanks for all the tips, guys, appreciate it.</p>