android-pendingintent
Notification opens activity, back button pressed, main activity is opened?
The best way I can describe my problem is like this: A notification is created at boot (with a BroadcastReceiver).[详细]
2023-04-09 23:49 分类:问答how to set alarm for my Database Values?
I am trying to set alarm for my database values. In database i am saving 4 values alarm1, alarm2, alarm3, alarm4 in a sin开发者_Go百科gle row. I need to set alarm for those 4 values. How can i set ala[详细]
2023-04-05 00:02 分类:问答how to stop my alarm service after 2 days at particular time?
Below is my code for setting repeat alarm for daily. Now i need to stop my alarm after 2 days. I tried to stop alarm after adding 2 days but it is not working . Please anyone help me.[详细]
2023-04-04 05:26 分类:问答Notification passes old Intent Extras
i am creating a notification inside a BroadcastReceiver via this code: String ns = Context.NOTIFICATION_SERVICE;[详细]
2023-04-04 02:44 分类:问答PendingIntent of Notification don't call my Activity second time
I hope that receiving a push-notification (c2dm) reception display Notification. This Notification start, whith PendingIntent, an Activity that display a pop-up. This popup launch my application when[详细]
2023-04-02 14:11 分类:问答android pendingIntent cached on multiple calls to ACTION_EDIT contact after pressing Home Button
I´ve got a HOMESCREEN WIDGET with a BUTTON. Here´s the action added to teh button: Intent editContact = new Intent(Intent.ACTION_EDIT, ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_U[详细]
2023-04-02 10:10 分类:问答onActivityResult for PendingIntent
How do i get the result of an activity started from NotificationManager? In other words i need to get the resultCode from a PendingIntent.[详细]
2023-04-01 04:11 分类:问答Can I start both an activity and a Service through a PendingIntent in the notification area
I cannot see how to start bot开发者_如何学编程h when user click a Notification.I think the answer is yes, but not directly.[详细]
2023-03-31 21:38 分类:问答Cannot send pending intent from widget, SendIntentException
I want to send a broadcast from my widget with this code: for (int i = 0; i < N; i++) { int appWidgetId = appWidgetIds[i];[详细]
2023-03-31 07:08 分类:问答Resuming Android app from an ongoing notification
I am working with notifications for the first time, and it seems that i must be missing something obvious. I have an Android app that plays music. While it is playing, I have an ongoing notification d[详细]
2023-03-31 03:50 分类:问答