Questions tagged [notificationmanager]

This is a class which helps create notification for you app. Import Statement for NotificationManager class android.app.NotificationManager

233 questions
0
votes
1 answer

PendingIntent notification happened only one time

I have develop an android app. this app generate notification and I have also to dismiss them and act when dismiss. If I receive one notif and dismiss it, the intent is received. and it works if I receive one, dismiss, receive one, dismiss... But in…
Seb
  • 2,929
  • 4
  • 30
  • 73
0
votes
1 answer

Notification not showing up using Android Auto

I followed the tutorial on Udacity and the developer site for Android auto. I am using a DVU for testing. The notifications don't show up on the DHU but appears on the phone here is my code: Using GcmListenerService: final PendingIntent…
0
votes
1 answer

android send notifications in the future

I'm thinking of the best way to do this. I have a set of id's and times. Each id contains more than one time (in the future). Users can select for which id's they would like to get notified. I was able to use Notification manager and broadcast a…
Jayaram
  • 839
  • 1
  • 14
  • 24
0
votes
1 answer

Android NotificationManager issue

I'm using the download file from url from this link http://www.worldbestlearningcenter.com/tips/Android-download-notification.htm and everything was working fine till I tried to download a new file while one is still download, the new one didn't…
Agbeniga
  • 9
  • 2
0
votes
1 answer

How to remove notification while remove app from taskmanager

I couldn't remove notification while remove application from taskmanager.I tried this code but its not work for me @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); …
0
votes
1 answer

android notification pendinintent issue wrong 3rd argument type

On my app I'm getting an error trying to add a intent to a notification. Here is my notification here is my code... public void notification(Context context,Bitmap bpm,File imagen) { Intent pendingintent = new Intent(); …
Noel Carcases
  • 711
  • 1
  • 7
  • 27
0
votes
2 answers

android -How to make notification disappear only when user clicked on it

this is my notification code: NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); int icon = R.drawable.ic_launcher; CharSequence tickerText = "Ticker Text"; long time =…
mohamad bagheri
  • 499
  • 1
  • 10
  • 25
0
votes
1 answer

Android: Placing a random item from a String Array in to Notifications

I want my app to be able to pick a random item from this string array: Quote 1 Quote 2 Quote 3 And send the item off in a notification to the…
0
votes
1 answer

NotificationCompat.Builder on api 15 fail to notify time

I trying to use Notification on API 15 with NotificationCompat.Builder, but if I pass 10 seconds( 100000 in milliseconds) as when parameters the notification starts immediately. Where is the problem? I want to start the notification after 10…
adev
  • 367
  • 1
  • 3
  • 20
0
votes
1 answer

Set alarms after rebooting Phone

I have a little question. I set my notifications in specific times using AlarmManager. The times I set notifications for are stored in SQLLite database. They all work perfect except the moment I reboot the phone. alarmManager looses their repeatings…
0
votes
1 answer

Notification icon size different by using Notification class and NotificatioinCompat.Builder class

I am working on an Android application. I had two modules . Uploading files Downloading files In Uploading files I have used Notification class to show the notification. notificationManager = (NotificationManager) this …
Karthikeyan Ve
  • 2,550
  • 4
  • 22
  • 40
0
votes
1 answer

Issue in displaying notifcation

I trying to add notification in my app. I tried the below code but the problem is that using the below code I can see only the partial text being displayed i.e I see only "Import the unzipped Android project" in the notification rest of the text is…
Psypher
  • 10,717
  • 12
  • 59
  • 83
0
votes
0 answers

Building a Notifications Management Software

I'm wanting to build a central notifications hub that can interact with and delay, control or manage Notifications that are generated from different software (such as Outlook, Skype, Live Messenger, Facebook Messenger, etc.) on a Windows PC.…
Haseeb Ahmed
  • 643
  • 5
  • 16
0
votes
1 answer

Android NotificationListenerService gracefully degrade for versions lower than 4.3

Is there a way to have the new Android NotificationListenerService gracefully degrade for versions prior to 4.3? I thought that if the os does not recoginze a service then it is ignored in the manifest. This doesn't seem to be the case here. The…
0
votes
2 answers

Notification manager in Fragment

When i try to assign value for Notificatoin Manager in fragment class, i have Null Pointer Exception. private NotificationManager m_notificationMgr; public void CreateNotification() { Log.d(TAG, "created"); m_stopwatch = new…
kolodach
  • 997
  • 1
  • 8
  • 12