With the "old" notifications, I would use these statements when starting a service:
...
End sub
How do I use the NB6 notification object instead of the old Notification object?
If I construct an NB6 notification object I get a "Types do not match" message ...
I can't find a reference in the notes on using the NB6 library.
B4X:
Dim nNotify as Notification
.. code to construct nNotify
Private NID as Int = 1
Sub Service_Start (StartingIntent as Intent)
Service.StartForeground(NID, nNotify)
End sub
How do I use the NB6 notification object instead of the old Notification object?
If I construct an NB6 notification object I get a "Types do not match" message ...
I can't find a reference in the notes on using the NB6 library.