Beja Expert Licensed User Longtime User Dec 8, 2013 #1 I could send strings normally, but when I sent a couple of text words it immediately crashed. No error message. Galaxy S4, Android 4.1.2 Edit: Not to mention I have been running this demo without any issue. this is the first time to run it on GS4 Last edited: Dec 8, 2013
I could send strings normally, but when I sent a couple of text words it immediately crashed. No error message. Galaxy S4, Android 4.1.2 Edit: Not to mention I have been running this demo without any issue. this is the first time to run it on GS4
KitCarlson Active Member Licensed User Longtime User Dec 8, 2013 #2 I am having a hard time following your post. What is the difference between strings and text words? I think that text words are contained in strings. Upvote 0
I am having a hard time following your post. What is the difference between strings and text words? I think that text words are contained in strings.
Beja Expert Licensed User Longtime User Dec 8, 2013 #3 Hi, pls don't stop on that.. they are the same. edit: Just noticed the error msg: Connection is broken Upvote 0
Hi, pls don't stop on that.. they are the same. edit: Just noticed the error msg: Connection is broken
Beja Expert Licensed User Longtime User Dec 8, 2013 #4 This is the NewData sub: B4X: Sub AStream_NewData (Buffer() As Byte) LogMessage("You", BytesToString(Buffer, 0, Buffer.Length, "UTF8")) End Sub Upvote 0
This is the NewData sub: B4X: Sub AStream_NewData (Buffer() As Byte) LogMessage("You", BytesToString(Buffer, 0, Buffer.Length, "UTF8")) End Sub
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2013 #5 This code is correct. The problem is somewhere else. Upvote 0