X xmasmc Member Licensed User Longtime User Dec 11, 2013 #1 Today I make update for my LG to Android V4.1.2, after this update my app hangs, when I try to read from BT serial interface. Do you know problems with serial lib after update android ? If SerInp.BytesAvailable > 0 Then This code hangs Please help
Today I make update for my LG to Android V4.1.2, after this update my app hangs, when I try to read from BT serial interface. Do you know problems with serial lib after update android ? If SerInp.BytesAvailable > 0 Then This code hangs Please help
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2013 #2 You should use AsyncStreams to work with the bluetooth stream. Upvote 0
X xmasmc Member Licensed User Longtime User Dec 11, 2013 #3 Erel said: You should use AsyncStreams to work with the bluetooth stream. Click to expand... Hi Erel, thank you for your fast answer. The problem is, my App is finished, everything works, after update Android the problem starts. If I change to AsyncStreams, this is a lot of work. Are you shure, that this will work ? Upvote 0
Erel said: You should use AsyncStreams to work with the bluetooth stream. Click to expand... Hi Erel, thank you for your fast answer. The problem is, my App is finished, everything works, after update Android the problem starts. If I change to AsyncStreams, this is a lot of work. Are you shure, that this will work ?
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2013 #4 AsyncStreams work for sure. Another option is to set android:targetSdkVersion="4" (not 14) in your manifest file. This may solve this issue. Though AsyncStreams is the only reliable way to work with such stream. Upvote 0
AsyncStreams work for sure. Another option is to set android:targetSdkVersion="4" (not 14) in your manifest file. This may solve this issue. Though AsyncStreams is the only reliable way to work with such stream.
X xmasmc Member Licensed User Longtime User Dec 11, 2013 #5 Erel said: AsyncStreams work for sure. Another option is to set android:targetSdkVersion="4" (not 14) in your manifest file. This may solve this issue. Though AsyncStreams is the only reliable way to work with such stream. Click to expand... Hi Erel, this don't solve the problem Upvote 0
Erel said: AsyncStreams work for sure. Another option is to set android:targetSdkVersion="4" (not 14) in your manifest file. This may solve this issue. Though AsyncStreams is the only reliable way to work with such stream. Click to expand... Hi Erel, this don't solve the problem
X xmasmc Member Licensed User Longtime User Dec 12, 2013 #6 Hi Erel, I change to AsyncStreams and no more problems, thank You, very good and fast support Upvote 0