Notification with multiple buttons
问题 I need to display notification with two buttons. Different operation need to perform for each button.so for that I have written following code but when I'm getting multiple notification delete action is not performing. Random NOTIFICATION_ID = new Random(); int CANCELNOTIFICATIONID = NOTIFICATION_ID.nextInt(); // define sound URI, the sound to be played when there's a notification Uri soundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); Log.i("******* Service6", "" +