Hi
How can I create a notification with a big image using a library:
https://www.b4x.com/android/forum/threads/nb6-notifications-builder.91819/#content
which when clicked run a service without bringing up any activity?
Hi,
I have a problem with the NB6 notification library. I'd like to make a notification with high priority and a custom sound, goes I see it can't be done.
The setCustom function doesn't set the custom sound to false if we are in isChannel = true mode, how can I do to disable the defautl sound...
Hi,
I use the following code to create custom notifications but I can not change the font and size of the text, does anyone know what the problem is?
Thank You.
n.Initialize("default",""...
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...
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.
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...
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...
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...
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...
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"...
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...
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...
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...
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...
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...
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...