title: Wait until onCreate is finished
body: <p>I start a Service from a BroadcastReceiver like this</p>
  
  <pre><code>Intent service = new Intent(context, MyService.class);
  context.startService(service);
  
  String s = "Hello World";
  MyService.addString(s);
  </code></pre>
  
  <p>addString is a static function which add the String to a ListView. Now I have the problem that this function is called while MyService onCreate() is running and the ListView is not initialized. What can I do to wait until the onCreate method is finished?</p>