B4A Question NB6 and StartForeground - scsjc    
May 4, 2018Hello,
Can i use a Service.StartForeground(x,NB6) ????
i try with this:
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS
is correct???
thanks...
link: Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS
is correct???
No.
NB6.Build...
B4A Question Is it possible to use NB6 notification with StartForeground ? - Erel (first post)    
Aug 11, 2020Yes. NB6.Build returns a regular notification object....
link: Service.StartForeground(nid, CreateNotification("something something"))
Sub...
B4A Library NB6 - Notifications Builder - Erel    
Mar 12, 2025   
(63 reactions)   
tags: B4A Notifications NB6, Background, SDK, B4A Notifications, NotificationBuilder Class, B4A be added as resources, NB6 expects bitmaps. This makes it easier to work with NB6.
- Starting from... if you are interested in simple notifications.
Now for the new option.
NB6 is a class...
link: Looks like the limit is 5120 characters: https://stackoverflow.com/a/31648117...
link:
Thank you Erel.
Another little question:
what is the different between
AddButtonAction
and
AddRemot...
link: I've added this comment to AddRemoteInput for the next update of NB6:
'Used for reply...
B4A Question notification popup - Erel (first post)    
Sep 29, 2020
Is it possible from NB6 in StartForeground
used?
please guide me
https://www.b4x.com/search?query=NB6+StartForeground...
link:
Are you using NB6? It does set the priority property (see the Initialize method code) so based...
B4A Code Snippet NB6 class - additional functions - wes58    
Dec 8, 2021   
(28 reactions) that maybe I should check current Notifications API with Channels and Erel's class NB6.
I noticed... the NB6 class.
Therefore, I have decided to add some of them.
1. First, I needed an InboxStyle... somewhere else 6 lines)
Here is the code to be added to NB6 class:
'Creates a "Inbox" notification.
Public Sub InboxStyle(SummaryText As Object, Text As List) As NB6
If IsBuilder Then... time (like an ongoing phone call).
Here is the code to be added to NB6 class:
'Show the stopwatch...
B4A Question NB6 example-problem - kisoft    
Oct 31, 2018HI
I'm testing this example, but when I click the same notification twice, the application crashes.
Application failure occurs only on the SAMSUNG A5 phone (ANDROID 6.0.1)
https://www.b4x.com/android/forum/threads/nb6-notifications-builder-class-2018.91819/
Logger połączony z: samsung SM-A500FU
--------- beginning of system
android.app.RemoteServiceException: Bad notification posted from package b4a.example3: Couldn't update icon: StatusBarIcon(icon=Icon(typ=RESOURCE pkg=b4a.example3...
B4A Question Starting a service with an NB6 Notification object - Erel (first post)    
Jul 14, 2025NB6 tutorial: https://www.b4x.com/android/forum/threads/nb6-notifications-builder.91819/#content
With a few exceptions, you can no longer call Service.StartForeground when your app is in the background....
link: (StartingIntent as Intent)
Service.StartForeground(NID, nNotify)
...
End sub
How do I use the NB6...
B4A Question Calling Notification without StartForeground - Scantech (first post)    
Aug 18, 2019I was hoping i can use Service.StartForeground(1, CreateNotification("...")) with NB6 but unfortunately it can't work. My service uses Service.StartForeground(1, CreateNotification... can i update the Service.StartForeground(1, CreateNotification("...")) channel with NB6 which...
link: I was hoping i can use Service.StartForeground(1, CreateNotification("...")) with NB6...
link: I have not tried it yet but to use NB6 i need to replace?
Sub CreateNotification (Body As String...
B4A Question NB6 and B4XPages - tiziana.tinnirello    
Aug 3, 2020How to open specific B4XPage on NB6 notification ?...
B4A Question Add buttons in Notification - Scantech (first post)    
Aug 15, 2019also, can NB6 be used with Service.StartForeground?...
link: .
also, can NB6 be used with Service.StartForeground?
Yes....
Page: 1  
2  
3  
4  
5  
6