Hi,
I'm writing bluetooth aplication which is communicating with HC-06 module attached to my another hardware. Everything seems to work correctly (I was developping on android 4.x tablets). But when I tried this app on huawei android 5.1.1 tablet (I have correctly installed android 5.1.1 sdk) bluetooth work but each time I something send or receive it start heavy lagging (freezing) and it use to end up with "application stopped working" and I must force quit it. So could anybody please check up (review) my code and tell if I'm doing something wrong.
Thank you. Here you can download my code http://rpsx.eu/1pCg
Source codes are located in folder Serial_HC06 (SerialExample.b4a)
Additional libraries which is needed is located in folder "kniznice".
I'm writing bluetooth aplication which is communicating with HC-06 module attached to my another hardware. Everything seems to work correctly (I was developping on android 4.x tablets). But when I tried this app on huawei android 5.1.1 tablet (I have correctly installed android 5.1.1 sdk) bluetooth work but each time I something send or receive it start heavy lagging (freezing) and it use to end up with "application stopped working" and I must force quit it. So could anybody please check up (review) my code and tell if I'm doing something wrong.
Thank you. Here you can download my code http://rpsx.eu/1pCg
Source codes are located in folder Serial_HC06 (SerialExample.b4a)
Additional libraries which is needed is located in folder "kniznice".