I want that the notification will be closed after the user is clicking on it. I saw that everybody saying to use flags, but I can\'t find the flags anywhere because I\'m usi
You can add a flag to your notification:
http://developer.android.com/reference/android/app/Notification.html#FLAG_AUTO_CANCEL
This will dismiss it upon clicking.