What is Pending Intent?
Pending intent is an object that wraps another intent object with the target action to be performed.
It can be used to launch an activity,service,Broadcast receiver.
It is passed to other application to perform desired actions.
Types of Pending Intent?
Arguments of Pending Intent?
this(Context) – the context in which the PendingIntent starts the activity.
requestCode – a private request code for the sender.
intent – An explicit intent of the activity to be launched.
PendingIntent.FLAG_CANCEL_CURRENT – If described PendingIntent already exists,then cancel first once,and n new pending Intent is generated.