android-notification-bar Questions

4

Solved

I have written a code in my GCMIntentservice that sends push notifications to many users. I use the NotificationManager that will call DescriptionActivity class when the notification is clicked. I ...

6

Solved

I have a Media service that uses startForeground() to show a notification when playback starts. It has pause/stop buttons when playing, play/stop buttons while paused. NotificationCompat.Builder m...

6

Solved

I listen for notifications like WhatsApp Messages. But every time a notification comes in the NotificationListenerService fire twice. Does anyone know this problem?? This is a snippet from the A...
Hadrian asked 29/10, 2015 at 10:46

7

Solved

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

9

Solved

I need to create a simple notification which will be shown in notification bar along with the sound and icon if possible? I also need it to be compatitible with Android 2.2, so i found that Notific...

1

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 ...
Subcartilaginous asked 18/1, 2021 at 10:59

9

Solved

In my Android application, I want to set Notification icons dynamically which will be loaded from URL. For that, I have used the setLargeIcon property of NotificationBuilder in receiver. I referred...

2

Solved

Notification in android taking same intent on clicking. I am sending notifications after installing the theme. Consider I install 4 themes and 4 notifications appear in Notification window, but whe...

3

Solved

As shown in the figure... I am getting my notification icon(on left to the red colour). But I need to display the app icon as shown by the black arrow public void notify(View view){ notificati...

6

Solved

Android 4.1 offers the user a check box to disable notifications for a specific application. However, as a developer we have no way to know whether a call to notify was effective or not. I really...
Centrality asked 25/7, 2012 at 11:58

3

Solved

Hey everyone! Started programming with Bluetooth on Android awhile ago. But now I've run into some issues. I'm wondering why the pairing request sometimes shows up in the notification bar and some...
Aquavit asked 25/7, 2011 at 14:20

4

According to the specification, .setDeleteIntent(pendingIntent) is associated to both actions (CLEAR all events from notification bar and user action like swiping). My requirements are that when t...
Lobell asked 29/8, 2016 at 12:23

5

Solved

I'm working on a notification based app, for which I need to listen to incoming notifications. I've been able to listen to incoming calls, SMS, mail etc. I have no clue how to listen for pings or m...

2

Solved

I am working on Android app (API level >23). And I have to support Notification. And my notification icon is supported more than two colors. If I use that icon then icon displays in grey in notifi...

5

Solved

A few years ago, I wrote an alarm app that worked on Android 2, and I'm now trying to upgrade it to work on Android 4. Specifically, on the Samsung Galaxy S4. On Android 2, if the phone was sleepi...

8

Solved

I have this code: Notification notif; // Build notification Notification.Builder notifBuilder = new Notification.Builder(context); notifBuilder.setContentIntent(pendingIntent); notifBuilder.setCo...

1

Solved

I needed to know when the system/notification bar gets opened in my app, and I couldn't find any real solutions, so I hacked something together which seems to work pretty well.
Foppish asked 27/11, 2018 at 22:20

7

Solved

I've searched everywhere, but can't find anything in the SDK or on Google on how to do this. I know it's possible because all the custom launchers are able to do it via a button press (LauncherPro,...
Cornered asked 17/2, 2011 at 13:9

2

I trying click on the notification after receiving it. I'm able to drag the notification drawer using the Accessibility service. For clicking the notification I'm using accessibilityEvent.getSo...

1

In my application, i'm changing language dynamically so if my is in foreground, notification language is coming properly but if i force close app notification is coming in device locale. I've used...

3

Solved

Usually, Android calls onPause on your Activity when it starts being obscured or hidden, followed by onStop when it's no longer shown at all. In my game, I pause the game in onPause, so the user do...
Bennington asked 2/10, 2012 at 11:32

4

Solved

In my app, there is service running on background. I want to notify user that the service is running. But I need that user cannot delete the notification - by pressing clear button or by swipe it o...
Wrangle asked 17/11, 2012 at 2:53

6

Solved

I am working on a lockscreen app and I need to disable the ability to pull down the notification/status bar at the top of the screen. There is an app called Holo Locker and what this app does is wh...
Palmar asked 12/11, 2013 at 2:58

2

Solved

I want to know that how can I change the notification bar small icon in android Oreo (API 26). It has round white icon showing in the notification bar. How can I change it? Manifest file default no...

1

Solved

Like this image I am trying to set notification large icon as user profile thumbnail like whatsapp or other chatting apps I have tried Glide.with(context) .asBitmap() .load(messageNotificati...
Stratfordonavon asked 24/2, 2018 at 21:46

© 2022 - 2024 — McMap. All rights reserved.