Questions tagged [android-bubbles]

15 questions
5
votes
2 answers

Why are Bubbles appearing as normal Notifications?

I've been experimenting with the new Bubbles API recently. No matter what I do, the notifications that I expect to appear as a bubble always appear in the system tray as a normal notification. I've written my own toy app, which I'll add here. I have…
AndroidDev
  • 20,466
  • 42
  • 148
  • 239
3
votes
0 answers

Android 12 - Google Pixel can not start MainActivity from BubbleActivity

Hello friends on StackOverflow. I got a problem with my Application when run on Android 12 Beta, Pixel 5. When staying in BubbleActivity, I call a BubbleActivity#startActivity(MainActivity.class) but it does not work as I expect (minimize…
Danh Tran
  • 31
  • 3
3
votes
1 answer

How to load IconCompat with AdaptiveBitmap using Glide

How to leverage Glide cache for loading notification icons? Those are IconCompat used in the Person object in the MessagingStyle notifications and Shortcuts. Also, Bubbles require using both of those. I used Glid as fallowing: private IconCompat…
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
2
votes
0 answers

Unable to make Chat bubbles in Android 11

The Helper class I picked from the official android documentation. Is there anything I am missing that prevents the bubble from appearing? @RequiresApi(Build.VERSION_CODES.Q) class NotificationHelper(private val context: Context, val shortcutId:…
mihirjoshi
  • 12,161
  • 7
  • 47
  • 78
2
votes
1 answer

How to implement Android Bubbles notifications on Android 11(Api 30)+

I am trying to implement the Android Bubbles notifications API but it's not working for me, it's displaying as an ordinary notification. I am testing on emulator API 30(Android 11). I got the people-example working on the device, and I am following…
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
2
votes
0 answers

Bubble Notification showing as ordinary notification when created from phone state receiver in Android Q

I'm trying to show a bubble notification from a phone state receiver after call ends and its displaying as an ordinary notification. But it displays a bubble notification when I send notification from a button click event. Here is manifest file…
1
vote
2 answers

How do I remove a notification without removing its bubble while the app is not in foreground?

In my app I'm publishing notifications for chats, and whenever a chat is read by user, I want to remove the notificaton. If the user has opted to open a bubble, however, I want to preserve it until the user manuall dismisses it. I can easily do this…
squirrel
  • 5,114
  • 4
  • 31
  • 43
1
vote
1 answer

How to ask permission for Bubble in my app?

I am using bubble feature in my app for Android 10. So I need to ask permission to enable Bubble feature. If users agree to the permission, then need to go through the exact path of enabling it. How do I achieve that. Thanks in advance.
Kousalya
  • 700
  • 10
  • 29
0
votes
0 answers

Bubble chat do not show again with the same content in android 13?

I am handling a chat app with a disabled preview message feature, so when receive a new message, I show a bubble with the text "You have a new message". In the first time it work fine, but after user close this bubble then it is not shown again,…
Viet Tran
  • 1
  • 1
0
votes
1 answer

How to programatically check if Bubbles are globally enabled?

Is there an API available to check whether Bubbles are enabled from Developer Options? There is an API NotificationManager#areBubblesAllowed (https://developer.android.com/reference/android/app/NotificationManager#areBubblesAllowed()) but this only…
rin
  • 1
  • 1
0
votes
1 answer

setShortcutInfo in NotificationCompat.Builder and pushDynamicShortcut in ShortcutManagerCompat doesn't work in Api 30(Android 11)

I am working on Bubbles in Android 11 and some functions doesn't work I don't know how to fix this. Android Studio writes: Unresolved reference: setShortcutInfo My NotificationCompat.Builder: val builder = NotificationCompat.Builder( …
Renattele Renattele
  • 1,626
  • 2
  • 15
  • 32
0
votes
1 answer

How to show images like twitter in android

Hello All, I want to show image like shown in attached file. I have created a view but i am unable to set image one after other but the second and third image should be cut. Is there any way to achieve this view using xml?
0
votes
0 answers

Using Bubble notification for incoming call

Below is my code for bubble notification, Notification.BubbleMetadata bubbleData = new Notification.BubbleMetadata.Builder() .setIcon(Icon.createWithResource(this, R.drawable.notification_logo)) …
0
votes
1 answer

Android Q: Error when using bubble in android java.lang.NoSuchMethodError

I am trying to use This new feature in Android and getting error java.lang.NoSuchMethodError: No direct method ()V in class Landroid/app/Notification$BubbleMetadata$Builder; or its super classes (declaration of…
Vishal Pawar
  • 4,324
  • 4
  • 28
  • 54
-3
votes
1 answer

Android chat bubble outlined custom design

**I need to make like this design , help me if anyone know ** i followed reference from sof link is answers for chat bubble link.but i dont know how to make custom style with outlined ui
btm me
  • 368
  • 3
  • 11