Just updated to B4A v8 - and it appears the notification Led/light has stopped working - I checked by going back to v7.8 and recompiling the same code and installing it on my device - and notification Led/light worked ok. So it does appear to be v8 related.
Anyone else had this problem, or as usual am I doing something wrong?
No I have only tried it on Andriod 6 and 4 devices. The code is in Service module, code sample below. The n.Light = true has just been added (but it makes no difference).
Thanks for the quick response
Dave
B4X:
private Sub iNotifyMessage(inStrg As String)
Dim n As Notification
n.Initialize
n.Icon = "icon"
' TODO See TaskSelect.pHandleMessage()
Dim xmlStr As String = inStrg.SubString(ModEposApp.EPOS_MESSAGE.Length)
Dim responseObj As clsMessageRec
responseObj.Initialize
responseObj = responseObj.pXmlDeserialize(xmlStr)' TODO - need to determine if the deserialisation was successful
n.Light = True
n.SetInfo(responseObj.headingTop, responseObj.headingBottom, TaskSelect)
n.Notify(1)
End Sub