i developed an basic notification example and tried to catch which notification clicked. But i couldnt.
I put an arraylist my notificaiton and pass it to reciever activity by putting extras, then try to catch but no way !
Are there anyway to catch which one cliked ?
You can pass a
Bundle
along with PendingIntent to the next Activity.and the method
getPendingIntent()
I am using NotificationCompat2 by Jake Wharton here but the answer does not depend on that.