I need to create a notification,which will display in the top but it should not navigate to any page,should not have any onclick function.
here is the code which i h
Use Intent wihtout having component, like below
Intent
PendingIntent contentIntent = PendingIntent.getActivity( getApplicationContext(), 0, new Intent(), // add this PendingIntent.FLAG_UPDATE_CURRENT);
This is provide a way where use can't open an Activity.
Activity