Beja Expert Licensed User Longtime User Apr 28, 2015 #1 Hi all.. After sending some data using serial1, I have to clear the app manually by using the long-click in the device menu then swipe it away. Only after doing this that I can run the app and send again. Any hint?
Hi all.. After sending some data using serial1, I have to clear the app manually by using the long-click in the device menu then swipe it away. Only after doing this that I can run the app and send again. Any hint?
Erel B4X founder Staff member Licensed User Longtime User Apr 28, 2015 #2 You should provide more information. What happens when you run your app again without killing it? What is your app doing with the serial connection? Are you using AsyncStreams? Upvote 0
You should provide more information. What happens when you run your app again without killing it? What is your app doing with the serial connection? Are you using AsyncStreams?
Beja Expert Licensed User Longtime User Apr 28, 2015 #3 Hi Erel, The app sends a line of text through bluetooth. B4X: TextWriter1.WriteLine(DataString.ToString) TextWriter1.Flush Upvote 0
Hi Erel, The app sends a line of text through bluetooth. B4X: TextWriter1.WriteLine(DataString.ToString) TextWriter1.Flush
Erel B4X founder Staff member Licensed User Longtime User Apr 29, 2015 #4 Don't use TextWriter and TextReader with network / serial connections. You should use AsyncStreams instead. Upvote 0
Don't use TextWriter and TextReader with network / serial connections. You should use AsyncStreams instead.