Notification Without Pending Intent
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 have used. notif
Solution 1:
Use Intent
wihtout having component, like below
PendingIntentcontentIntent= PendingIntent.getActivity(
getApplicationContext(),
0,
newIntent(), // add this
PendingIntent.FLAG_UPDATE_CURRENT);
This is provide a way where use can't open an Activity
.
Post a Comment for "Notification Without Pending Intent"