title: Display alertDialog on alarm?
body: <p>I would like to display an alert dialog when the alarm goes off. Here is where i am so far. Im not sure if im doing it right. </p>
  
  <pre><code>@Override
      void doTaskWork(Intent intent){
          String taskId = intent.getStringExtra(TaskHelper._id);
  
          NotificationManager mgr = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
          Intent notificationIntent = new Intent(this, TaskDetails.class);
          notificationIntent.putExtra(TaskHelper._id, taskId);
          PendingIntent pi = PendingIntent.getActivity(this, 0, notificationIntent, PendingIntent.FLAG_ONE_SHOT);
          Notification note = new Notification(R.drawable.stat_sys_warning, );
  
      }
  
  
  }
  </code></pre>