Skip to main content
0 votes
1 answer
62 views

I'm running a service extending NotificationListenerService: class NotificationBlockerListenerService : NotificationListenerService() { override fun onNotificationPosted(sbn: StatusBarNotification)...
Valentin Vignal's user avatar
1 vote
2 answers
2k views

I am trying to set notification icon which I generated using Android Image Asset. Generated image has just white color and some transparent part. I pasted here piece of code here. Which doesn't ...
sumit kumar's user avatar
0 votes
1 answer
135 views

My requirement is to lock my app in foreground for a particular time period. During that time, I have to disable the notification bar like restrict taking incoming calls from the notification. I have ...
Pratheeja's user avatar
0 votes
1 answer
879 views

I want to show the app name on top and all the notifications of the app clubbed below it. I am receiving the notification from firebase and using this code: val messagingStyle = Notification....
Sneha's user avatar
  • 94
1 vote
0 answers
342 views

As i wrote in the title of this question, how can i prevent head-up notification from dismissing when it's clicked? this only happens on Android 6 Mashmellow(API 23). If i click the head-up ...
CodingBruceLee's user avatar
2 votes
2 answers
823 views

In my Android application i am downloading files inside a Foreground Service. Before starting downloading i am displaying a notification with 0 progress and then updating the progress in ...
Nayab's user avatar
  • 127
5 votes
1 answer
11k views

I'm trying to implement a custom notification sound in my application. I have written the following code, but the application plays only default sound and not the custom sound i've added in raw folder....
Aagam Shah's user avatar
0 votes
1 answer
1k views

I'm trying to implement a custom notification in my project using Kotlin language. But, it does not show in the notification panel, although its's default one is working on button click. Suppose I ...
Prashant Singh's user avatar
1 vote
0 answers
379 views

I am trying to get all the information from a StatusBarNotification (sbn). I've already set up the NotificationListenerService. I was able to get EXTRA_TITLE, EXTRA_TEXT and EXTRA_LARGE_ICON. But I ...
Jeeva's user avatar
  • 4,965
4 votes
0 answers
657 views

I am showing an android app to show the badge count on the app launcher icon. Tried in a different version but it's not working on Android 11. May I know, is there anything new API for the same on ...
Malhotra's user avatar
  • 251
3 votes
2 answers
1k views

I would like to access the number of currently available push notifications The following :, here on a Android TV emulator image.. So how can I read that number? EDIT: I do not want to set anything.
Ralf Wickum's user avatar
  • 3,178
0 votes
1 answer
322 views

I'm building a podcast player using the Exoplayer. I've managed to set it up to have the controls both in the layout and the notification bar using exoplayer's PlayerNotificationManager. The problem ...
dbarnes's user avatar
  • 539
1 vote
1 answer
55 views

Is this a platform bug or some problem in my implementation? It appears to be regardless of importance level. Version of Android is 8.1.0. Target SDK is 22 (I am stuck on that unfortunately). ...
Daniel Wilson's user avatar
2 votes
2 answers
3k views

In my application I used icons in custom notification. The icons' color is black. It works fine in light mode, but NOT in dark. The icons are made by vector graphics in Android. The problem with ...
Riskhan's user avatar
  • 4,480
2 votes
1 answer
1k views

I have come across the notification which actively changes the content like banners. AFAIK videos and GIFs are not supported in the notification. How can we achieve this? I have searched and found ...
Rumit Patel's user avatar
  • 13.1k

15 30 50 per page
1
2 3 4 5
24