Top "Android-notifications" questions

A status notification adds an icon to the system's status bar (with an optional ticker-text message) and a notification message in the notifications window.

Android Notification Sound

I've used the newer NotificationCompat builder and I can't get the notification to make a sound. It will vibrate and …

android android-notifications
Notification bar icon turns white in Android 5 Lollipop

I have an app showing custom notifications. The problem is that when running in Android 5 the small icon in the …

android android-notifications android-5.0-lollipop
Notification not showing in Oreo

Normal Notification Builder doesn't show notifications on Android O. How could I show notification on Android 8 Oreo? Is there any …

android android-notifications android-8.0-oreo
NotificationCompat.Builder deprecated in Android O

After upgrading my project to Android O buildToolsVersion "26.0.1" Lint in Android Studio is showing a deprecated warning for the follow …

android notifications android-notifications
Firebase FCM notifications click_action payload

I am trying to open a particular activity when the user clicks the notification when the app is in the …

android android-notifications firebase-cloud-messaging firebase-notifications
INSTALL_FAILED_DUPLICATE_PERMISSION... C2D_MESSAGE

I am using Google notifications in my app, and until now I have done below in the manifest: <!-- …

android google-cloud-messaging android-notifications android-5.0-lollipop
Android: Test Push Notification online (Google Cloud Messaging)

Update: GCM is deprecated, use FCM I am implementing Google Cloud Messaging in my application. Server code is not ready …

android push-notification google-cloud-messaging android-notifications server-push
How to create a notification with NotificationCompat.Builder?

I need to create a simple notification which will be shown in notification bar along with the sound and icon …

android notifications android-notifications android-notification-bar
startForeground fail after upgrade to Android 8.1

After upgrading my phone to 8.1 Developer Preview my background service no longer starts up properly. In my long-running service I've …

android service kotlin android-notifications background-service
How to dismiss notification after action has been clicked

Since API level 16 (Jelly Bean), there is the possibility to add actions to a notification with builder.addAction(iconId, title, …

android action android-notifications