Hello,
I'm testing notifications on two Chinese devices both running Android 8.1.0. Using NB6 example I have replaced NB6 class with latest version of corresponding library. The code:
It lights RED color on one device and no light at all on another one. These devices are capable of showing at least red and green lights - I can see them during charging. What I'm doing wrong? Is there any "best practice" for notification LED control?
I'm testing notifications on two Chinese devices both running Android 8.1.0. Using NB6 example I have replaced NB6 class with latest version of corresponding library. The code:
B4X:
Sub Test_Notification
Dim n As NB6
n.Initialize("default", Application.LabelName, "DEFAULT").AutoCancel(True).SmallIcon(smiley)
n.SetDefaults(True, False, True)
n.SetLights(Colors.Green, 0, 0)
n.Build("Title", "Content", "tag1", Me).Notify(124)
End Sub