Hi
I have a problem with "AStream.Initialize"
I used some code from "Bluetooth Example" by @Erel for my app, and sometime when I try to connect Galaxy S to my device appers this msg
"An error has occurred in sub: module_activity_create (javaline: 237), java.lang.NullPointerException"
I find line 237 and the code is
Strange is that before update B4A to 1.92 this problem does not appeared,
maybe it's only an coincident.
Emanuel
I have a problem with "AStream.Initialize"
I used some code from "Bluetooth Example" by @Erel for my app, and sometime when I try to connect Galaxy S to my device appers this msg
"An error has occurred in sub: module_activity_create (javaline: 237), java.lang.NullPointerException"
I find line 237 and the code is
B4X:
If AStream.IsInitialized = False Then
AStream.Initialize(Main.serial1.InputStream, Main.serial1.OutputStream, "AStream")
End If
Strange is that before update B4A to 1.92 this problem does not appeared,
maybe it's only an coincident.
Emanuel