When a notification appears in the Android notification bar, the action for tapping on it is defined by the PendingIntent that was used while creating it, right?
But instead of launching an activity when the user taps on the notification, I would rather like to show an AlertDialog only. Is this possible?
The AlertDialog should ask: "Close notification" or "Show again in 1h" and so on.
Is there a way to show this AlertDialog only or do I have to launch an Activity, anyway?