それぞれに異なるバンドル/アクティビティが関連付けられているさまざまな通知があります。私の問題は、クリックしても消えないことです。ただし、それらは継続的な通知の対象ではなく、「クリア」するとそれらが削除されます。以下は私のコードです。どんな考えでも大歓迎です。:)
private void showNotification(Bundle b){
CharSequence myText = b.getString("notifStr");
Notification notification = new Notification(R.drawable.stat_sample, myText,System.currentTimeMillis());
Intent i = new Intent(myContext, NewPlace.class);
i.setAction(Intent.ACTION_VIEW + Integer.toString(b.getInt("id")));
i.putExtras(b);
PendingIntent contentIntent = PendingIntent.getActivity(myContext, 0, i, 0);
notification.defaults |= Notification.FLAG_AUTO_CANCEL;
notification.setLatestEventInfo(myContext, myText,myText, contentIntent);
notifMan.notify(b.getInt("id"), notification);
}