Questions tagged [heads-up-notifications]

High-priority notifications introduced in Android 5.0

Heads-up notifications were introduced in Android 5.0. These notifications are high-priority notifications and are presented to users for a short period of time with an expanded layout exposing possible actions.

After this period of time, the notification retreats to the notification shade. If a notification's priority is flagged as High, Max, or full-screen, it gets a heads-up notification.

Good examples of heads-up notifications:

  • Incoming phone call when using a device
  • Alarm when using a device
  • New SMS message
  • Low battery
52 questions
0
votes
0 answers

Heads Up Notification for Android KitKat (API 19)

Is there anyway to implement Heads Up Notification for Android Kitkat (API 19)? Based on my findings as below link, it says that heads up notification can be disabled in android…
Arduino
  • 285
  • 1
  • 3
  • 17
0
votes
1 answer

Unable to show Android Heads Up notification with FCM

I am working with Firebase to send notifications to a user. I am able to send a basic notification perfectly fine. However, I am having trouble with turning that notification into a heads up notification. I have tried multiple solutions from…
0
votes
0 answers

Is it possible to avoid heads-up notification of incoming calls?

This is a very short question: Suppose I have an immersive-screen Activity in the app, and I wish to give the users a choice of seeing heads-up notifications of incoming calls, because such a thing could cause accidental touches on the notifications…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
0
votes
1 answer

Is there a way to hide or disable Heads-Up Notifications temporarily?

I am searching everywhere for this and the closest thing to an answer i got was this which could not block the heads-up notifications. I am creating a custom screen record app and it annoyies me when heads up notifications show up in my app while…
0
votes
1 answer

Can an Android heads up notification be shown more than one time without user cancel?

My app targets: minSdkVersion 21 targetSdkVersion 25 I am able to display a heads-up notification with this: NotificationCompat.Builder notificationBuilder = (NotificationCompat.Builder) new NotificationCompat.Builder(activity) …
Lou Morda
  • 5,078
  • 2
  • 44
  • 49
0
votes
1 answer

Heads-up Ongoing Notification not hide

I need heads-up notification which will be not cancelable from notification drawer so I created Heads-up Ongoing notification: NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context) …
sofi37
  • 323
  • 1
  • 4
  • 15
0
votes
0 answers

Android show heads up notification while on a call

I am displaying heads up push notifications from my application. When a push notification comes in while on a phone call, the heads up notification isn't shown but it is in the notification center. What I want is for the heads up notification to be…
John Murphy
  • 905
  • 1
  • 10
  • 26
1 2 3
4