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")
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:
When I try
I get the following exception.
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.
- 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 RM_PickerResult (Success As Boolean, Uri As String)
Log("success..." & Success)
Log("Uri : " & Uri)