I want to close my application when the user touch the notification, this is my code for notification code in main activity
NotificationCompat.Builder builder=new NotificationCompat.Builder(this);
builder.setSmallIcon(R.drawable.earth);
builder.setContentTitle("RadioPlanet");
builder.setContentText("Touch here to stop");
int mll=001;
NotificationManager mNotification=(NotificationManager)getSystemService(NOTIFICATION_SERVICE);
mNotification.notify(mll,builder.build());