Top "Android-pendingintent" questions

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

What's "requestCode" used for on PendingIntent?

Background: I'm using PendingIntent for alarms via AlarmManager. The problem: At first I thought that in order to cancel previous …

android android-intent alarmmanager android-pendingintent
How to stop an alarm in android

In my main activity which has a button in it. In its onclick listener im calling function to set alarm.…

android alarmmanager android-pendingintent
How to send data through PendingIntent to Broadcast?

I'm trying to send via PendingIntent some extra data, like: MyMessage message; //... Intent intent; SmsManager sms = SmsManager.getDefault(); intent = new …

android android-intent broadcastreceiver android-pendingintent
FLAG_CANCEL_CURRENT or FLAG_UPDATE_CURRENT

My app sets a repeating alarm on user interaction, it might change the interval time set for the broadcast with …

android alarmmanager android-pendingintent
what is the exact difference between intent and pending intent?

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
How to use PendingIntent to communicate from a Service to a client/Activity?

I have been reading the following text on the Android Developers Site, specifically under the Framework Topics -> Services …

android android-service android-pendingintent
Notification passes old Intent Extras

i am creating a notification inside a BroadcastReceiver via this code: String ns = Context.NOTIFICATION_SERVICE; NotificationManager mNotificationManager = (NotificationManager) context.…

android android-notifications android-pendingintent android-notification-bar
Reading an NDEF message from an NFC tag from an Android application

I am trying to create an application using NFC and I just want to try and read an NFC tag …

android nfc android-pendingintent payload ndef
Intent to resume a previously paused activity (Called from a Notification)

I'm developing an app which shows a notification to the user. The notification's objective is to make it easy to …

android android-activity notifications android-pendingintent
How can I correctly pass unique extras to a pending intent?

I'm having a problem with alarmManager and the pending intent with extras that will go along with it. If I …

android android-intent alarmmanager android-pendingintent extras