android-pendingintent
Lost in PendingIntent fields
I am a bit lost with PendingIntent. As far as I could understand, it\'s a Token given to the OS to perform later (hence pending) operations.[详细]
2023-03-14 01:44 分类:问答Using PendingIntent in unit test to test a service
I\'ve got a IntentService (actually a WakefulIntentService!) that returns result to requests (i.e., from activities) using a PendingIntent that is added to the intent used to start the service. Earlie[详细]
2023-03-13 06:59 分类:问答In App BIlling trouble with Pending Intents and switching activities
Ok so I have been trying to fix this for days, and I\'m not coming here looking for someone to do my work for me as I have been troubleshooting and fixed every single error message in the LogCat.I am[详细]
2023-03-12 20:05 分类:问答How can I get my intent back from a service that is started by the AlarmManager?
I use an alarm service to jump to a service. when the service starts, hwo can I get the intent back(I want to get data from the intent)?[详细]
2023-03-12 07:30 分类:问答Activity fails to update on intent receive
The following code gives the same content after I send two notifications with different content say Content1 and Content2. The resulting activity always shows only Content2. What could be the reason f[详细]
2023-03-12 00:09 分类:问答Problems with a widget in Android
At the moment, my android widget runs a PendingIntent when you click it. The problem is that if the activity is already running in the background, the wi开发者_如何转开发dget runs it a second time. Is[详细]
2023-03-10 18:39 分类:问答Getting a resultCode from a PendingIntent that starts an Activity?
Is there any possible way to get the resultCode from an activity that\'s launched from a pendingIntent? The onFinished listener for PendingIntent.send() is only called immediately with a resultCode of[详细]
2023-03-10 06:43 分类:问答Android notification callback
I\'m using this tutorial on AsyncTask with a task and a notification: https://eliasbland.wordpress.com/2011/03/11/an-example-of-how-to-run-a-background-task-and-report-progress-in-t开发者_StackOverflo[详细]
2023-03-09 07:54 分类:问答Android : Widget - Null pointer Exception when using setOnclickPendingIntent on the remoteviews?
I got a Widget ( appwidgetprovider + service) This service updates the UI basically like this : RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.widget);[详细]
2023-03-07 05:23 分类:问答How to stop AlarmManager
I have a activity A, it regist开发者_StackOverflow中文版er AlarmManager to trigger another BroadcastReceiver B. When time is reached, onReceive() of B will be called, and start another activity C. A m[详细]
2023-03-04 04:37 分类:问答