title: How to wait for service on activity start
body: <p>I am making an application that has Activity which communicates with a single service, and is used to start, stop or change settings of that service. I used a singleton approach from <a href="https://stackoverflow.com/questions/2463175/how-to-have-android-service-communicate-with-activity">this</a> tip.</p>
  
  <p>My problem is that busy-waiting is not working for me and I can't attach a listener to the service because activity gets blocked. I want the service to start or get it's current instance at application start so I put the busy-waiting in onCreate. I'm guessing I'm doing this very wrong, so how do I do this appropriately?</p>
  
  <p>Also if there is a better approach to this, please post any links or guides, cuz I'm getn confused on android developer site :P</p>
  
  <p>thanks!</p>