title: Android Alert dialog from inside an intent service
body: <p>I want to display an alert dialog from inside an intent service.  </p>
  
  <pre><code>   AlertDialog alertDialog = new AlertDialog.Builder(this).create();
  </code></pre>
  
  <p>This throws the following exception  </p>
  
  <pre><code>   Unable to add window — token null is not for an application
  </code></pre>
  
  <p>I have tried IntentService.this and getApplicationContext() as well. Between i dont want to do it using an activity. I just want to show a simple alert dialog with a little text.</p>