Hello Erel
I have tried that at the beginning and seem's not to work. I will check again, and let you know something.
UPDATE:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("2")
If AStream.IsInitialized = False Then
'AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")
'AStream.Initialize(In As java.io.InputStream,Out As java.i
utputStream, Eventname As String)
AStream.Initialize(Main.Serial1.InputStream, Main.Serial1.OutputStream, "AStream")
End If
txtLog.Width = 100%x
End Sub
Before I had not added the code in blue, when I tried it. Now, with the added code it seems to work.
Thank you for the Patience!