Hi
I am trying to manage Serial,Bluetooth,AsyncStreamsText in service module.
Bluetooth,AsyncStreamText work well but I have a problem with serial. When a connection is estabilshed the Serial_connected event is not called .
I do not have any ideas what I do wrongly.
Cannot the serial object work in service module ?
Regards
Artur
I am trying to manage Serial,Bluetooth,AsyncStreamsText in service module.
Bluetooth,AsyncStreamText work well but I have a problem with serial. When a connection is estabilshed the Serial_connected event is not called .
I do not have any ideas what I do wrongly.
B4X:
Sub serial1_Connected (Success As Boolean)
Log("the event was called")
End Sub
Cannot the serial object work in service module ?
B4X:
Sub Service_Create
'This is the program entry point.
'This is a good place to load resources that are not specific to a single activity.
admin.Initialize("admin")
serial1.Initialize("serial1")
foundDEvices.Initialize
End Sub
Regards
Artur
Last edited: