int requestCode = 1;  
Intent intentA = new Intent(this, SecondActivity.class);  
intentA.putExtra("name","AAA");  
Intent intentB = new Intent(this, SecondActivity.class);  
intentB.putExtra("name","BBB");  
PendingIntent p1 = PendingIntent.getActivity(this, requestCode, intentA, 0);  
PendingIntent p2 = PendingIntent.getActivity(this, requestCode, intentB, 0);  
NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);  
Notification notification = new Notification.Builder(this)  
        .setContentTitle("title")
        .setContentText("Content Text")  
        .setSmallIcon(R.drawable.ic_launcher) 
        .setAutoCancel(true)  
        .setContentIntent(p1)  
        .build();  
manager.notify(1, notification);  
Notification notification2 = new Notification.Builder(this)  
        .setContentTitle("title2")
        .setContentText("Content Text2")  
        .setSmallIcon(R.drawable.ic_launcher) 
        .setAutoCancel(true)  
        .setContentIntent(p2)
		.build();  
manager.notify(2, notification2);  