Top "Android-pendingintent" questions

An Android class that provides a description of an Intent and target action to perform with it

What is an Android PendingIntent?

I am a newbie to Android. I read the Android Documentation but I still need some more clarification. Can anyone …

android android-intent android-pendingintent
Calling startActivity() from outside of an Activity?

I'm using an AlarmManager to trigger an intent that broadcasts a signal. The following is my code: AlarmManager mgr = (AlarmManager) …

android alarmmanager android-pendingintent runtimeexception
How to remove notification from notification bar programmatically in android?

Anybody have idea how can we remove notification from application programmatically which is called using Pending intent. I have used …

android notifications android-notifications android-pendingintent
Intent - if activity is running, bring it to front, else start a new one (from notification)

My app has notifications, which - obviously - without any flags, start a new activity every time so I get …

android android-intent android-activity android-pendingintent
PendingIntent works correctly for the first notification but incorrectly for the rest

protected void displayNotification(String response) { Intent intent = new Intent(context, testActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, Intent.FLAG_…

android notifications android-pendingintent
Delete alarm from AlarmManager using cancel() - Android

I'm trying to create and delete an alarm in two different methods which are both called at different moments in …

android alarm android-pendingintent
How to open fragment page, when pressed a notification in android

I am trying to open a fragment when I press a notification in the notification bar. My app structure is: …

android android-fragments android-notifications android-pendingintent
Pending intent in notification not working

Below is my block of code which should open NotificationActivity when the notification is tapped on. But its not working. …

android android-pendingintent
PendingIntent does not send Intent extras

My MainActicity starts RefreshService with a Intent which has a boolean extra called isNextWeek. My RefreshService makes a Notification which …

android android-intent android-service android-pendingintent
Get list of active PendingIntents in AlarmManager

I there a way to get a list of the active PendingIntents in a device? I am starting to work …

android android-pendingintent