Hello,
I am some what still new to B4A so to make my BlueTooth app I am taking a good bit from the BlueTooth chat Tutorial/file.
--- ERROR ---
Undeclared variable 'main' is used before it was assigned any value.
Line: 58
AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")
--- End Error ---
I have looked/searched the app Tutorial for the word "Main" to see if it is being set or well something is being done with it and I do not find it anywhere else.
The Tutorials has 2 files/code Tabs "Main" and "ChatActivity"
I'm not sure if the tab name has something to do with the use of Main in the code line or not but no matter my app (with only one tab) has the same name "Main" so i'd think that to be fine.
Any ideas of where this "Main" is or how to set it? or???
Thanks for any help! :sign0104:
Shane
I am some what still new to B4A so to make my BlueTooth app I am taking a good bit from the BlueTooth chat Tutorial/file.
--- ERROR ---
Undeclared variable 'main' is used before it was assigned any value.
Line: 58
AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")
--- End Error ---
I have looked/searched the app Tutorial for the word "Main" to see if it is being set or well something is being done with it and I do not find it anywhere else.
The Tutorials has 2 files/code Tabs "Main" and "ChatActivity"
I'm not sure if the tab name has something to do with the use of Main in the code line or not but no matter my app (with only one tab) has the same name "Main" so i'd think that to be fine.
Any ideas of where this "Main" is or how to set it? or???
Thanks for any help! :sign0104:
Shane