title: How to call Dialog box from Notification bar in android?
body: <p>I would like to call an android dialog box from Notification bar in android instead of leading to a url.Here is my code which I am using to call a url from notification.Tell me how to do it for a dialog box.Thanks </p>
  
  <pre><code>notifyDetails.defaults |= Notification.DEFAULT_ALL;
  Context context = getApplicationContext();
  CharSequence contentTitle = "Notification Details...";
  CharSequence contentText = "Browse Android Official Site by clicking me";
  Intent notifyIntent = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("http://www.android.com"));
  
  PendingIntent intent = 
                  PendingIntent.getActivity(SimpleNotification.this, 0, 
                  notifyIntent, android.content.Intent.FLAG_ACTIVITY_NEW_TASK);
  
  notifyDetails.setLatestEventInfo(context, contentTitle, contentText, intent);
  mNotificationManager.notify(SIMPLE_NOTFICATION_ID, notifyDetails);
  </code></pre>