Hạnh Nguyễn
Member
How do I get a pending intent?
Answer
Build and issue the notification:
Answer
Build and issue the notification:
- Create an Intent that starts the Activity .
- Set the Activity to start in a new, empty task by calling setFlags() with the flags FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TASK .
- Create a PendingIntent by calling getActivity() .