nb6

  1. D

    Android Question Gray icon in Notifications

    Hello everyone! I faced such a problem: on some devices and the emulator the notification icon is gray, while on my phone (HONOR 9X) the icon is colored and everything is fine. I also used the class Notification, and now I use NB6. Nothing has changed, can anyone have encountered such a problem...
  2. A

    Android Question EditText and NB6

    I recently saw that whatsapp allows you to reply to messages in the notification bar. Is it possible to insert an EditText with NB6, to receive texts? If not possible with NB6, is there an alternative? I looked here on the Forum and I didn't find it.
  3. A

    Android Question Detecting when a notification NB6 is dismissed by the user?

    I need to handle the event when the user swipes the NB6 notification. I can't figure out how to do this? Very much appreciated in advance.
  4. D

    Android Question start service when notification clicked

    Hi i use nb6 for show notification for sample i use this code: Dim n As NB6 n.Initialize("default3", "Class", "HIGH").AutoCancel(True).OnGoing(False).SmallIcon(Application.Icon) n.SetDefaults(True, True, True) n.Build("Error", "Helllllo", "status", test) when i click on notification, activity...
  5. Mrphone

    Android Code Snippet Change notification background color

    Hi How Can I Change Notification Background Color? :) Like the picture below 👇 Thanks in advance for your help ;)
  6. P

    Android Question NB6 Firebase Messaging

    I am creating notifications using FirebaseMessaging. I have used some of the functions mentioned here. Scenario : Send two or more notifications to the android app. When the target is set to a service name in nb6.build(...), the corresponding "service_start" is executed only when the first...
  7. W

    Android Question [Solved] NB6 icon not showing on lock screen (only the white circle)

    I'm puzzled - not for the first time, certainly not for the last. My device is a Moto X Style running Android 7.0 and the app is compiled with B4A 9.50. When I use B4A Bridge, the notification icon shows properly on the lock screen; B4A Bridge doesn't use NB6 (NotificationBuilder) for...
  8. janderkan

    Android Question NB6 and lock screen

    Using the demo from here i have changed this sub to have Visibility("PUBLIC") Sub Notification_WithActions Dim n As NB6 n.Initialize("default", Application.LabelName, "HIGH").Visibility("PUBLIC").SmallIcon(smiley).AutoCancel(True) n.AddButtonAction(smiley, "Action 1", MyService...
  9. M

    Android Question NB6 Notifications Builder class (2018)

    I installed the NB6.zip and ran it unchanged on my Nokia 6 with Android 9 and it worked for most examples for the first time. But not for "animated", "with progress" and "with actions" - even on first start. On second and following start, only "High priority", "Low priority" and "custom sound"...
  10. Azam Memon

    Android Question granturipermission error on internal storage in NB6 customSound

    I have obtained URI of a sound using RingTone Manager for NB6 custom sound, the URI of sound is: content://media/internal/audio/media/30 When I try n.CustomSound("content://media/internal/audio/media/30") I get the following exception. (RuntimeException) java.lang.RuntimeException...
  11. Abdou1283

    Android Question Custom notifications with nb6

    HI all, can i do a custom notifications like this one with NB6 class
  12. Sandman

    Android Question Are you using NB6? Are you seeing "System UI has stopped"?

    There's a thread going on regarding this topic, right here. Erel has requested information about what phone models that are affected. If you are using NB6 and you have some users (or even yourself) that get the "System UI has stopped", please take a minute to answer Erels question right here...
  13. Sandman

    Bug? NB6 crashes Sony Xperia M5 hard, forcing phone reboot

    For some reason NB6 crashes Sony Xperia M5 (and perhaps more phones) when using NB6. To reproduce: - Download the official NB6 (including the updated NB6.bas) and install - Try the first notification - Message on screen: "Unfortunately, System UI has stopped" Result in pic below. After...
  14. Sandman

    Android Question [SOLVED] NB6: Demo project doesn't play custom sound - should it?

    I've been working to get my app to use NB6, and have found something that surprise me. I can't really tell if this is meant to work or not, there are so many different ways of handling notifications now for Android. I just have to ask the forum for input on this one... I'm running Erels demo...
  15. Sandman

    Bug? Two text typos in NB6

    I think I've found two typos in the NB6 class. It not in the code, just the docs. Still, it might cause confusion (it did for me), so I thought I'd report them: 'Shows a progress bar. Cannot be used with SubText. 'Value - Current value. 'MaxValue - Maximum value. 'Indeterminate - Set to true...
  16. iz0ndg

    Android Question RingtoneManager & NB6

    Hi all, I have some code to select a ringtone and then use it in a notification using NB6 Sub btnoti_Click RM.ShowRingtonePicker("RM",RM.TYPE_ALARM,False,btnoti.Tag) End Sub Sub RM_PickerResult (Success As Boolean, Uri As String) Log("success..." & Success) Log("Uri : " & Uri) If...
Top