Hi
In main activity I initialize ast
End Sub
In Main Activity I have the following Sub
The Sub is called when the new string was recived from BT.
I created second Activity and I would like to use the same Sub in second Activity.
It should be called when new string was received and I am in second activity.
All advice how to do would be appreciated
Regards
Artur
In main activity I initialize ast
B4X:
Sub Process_Globals
Dim ast As AsyncStreamsText
In Main Activity I have the following Sub
B4X:
Sub ast_NewText(Text As String)
End Sub
The Sub is called when the new string was recived from BT.
I created second Activity and I would like to use the same Sub in second Activity.
It should be called when new string was received and I am in second activity.
All advice how to do would be appreciated
Regards
Artur