Hello, i am newbie and that's my first app and i appreciate some help.
All is working well until an InputList does not work with Service module. I attache the entire app.
The problem is locate on the Sub Set_Paired (line 152).
The log display must be 2 (i have 2 entries in my list) but is the value is -3 :
The line 186 return null value :
I tried to replace this line by :
the app don't crash.
If i do not use Service Module, the program work well as expected.
I have surched, but i did not found any answer.
Thank you
All is working well until an InputList does not work with Service module. I attache the entire app.
The problem is locate on the Sub Set_Paired (line 152).
The log display must be 2 (i have 2 entries in my list) but is the value is -3 :
B4X:
Log("Liste_Found.Size: " & Liste_Found.Size)
The line 186 return null value :
B4X:
serial1.Connect(ConnectDevice.Mac)
I tried to replace this line by :
B4X:
serial1.Connect("00:12:10:24:08:53")
If i do not use Service Module, the program work well as expected.
I have surched, but i did not found any answer.
Thank you