moeinashkani
Member
Hello evryone,
i am now working on app in B4A ,that in my app there is a blutooth connection section,i now researching about blutooth connetion,recently i read a post in this link https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/ that there were a project in this subject but when i press scan button in app, start searching nearby bluetooth,it found devices correctly ,when i click on any founded devices,start connecting to that,but no reciving pairing request or any password requiring section and connecting fail and apear Erorr connecting.
Apeared Erorr is:
Erorr connecting:java.io.ioeexception:read faild,socket might closed or timeout,read ret:-1
Note:I want a code that like this app search and connet to any blutooth devices that user select it after found.
whats your view about this problem?
how can i solve it?
where of code is not correct?
sincerely yours.
i am now working on app in B4A ,that in my app there is a blutooth connection section,i now researching about blutooth connetion,recently i read a post in this link https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/ that there were a project in this subject but when i press scan button in app, start searching nearby bluetooth,it found devices correctly ,when i click on any founded devices,start connecting to that,but no reciving pairing request or any password requiring section and connecting fail and apear Erorr connecting.
Apeared Erorr is:
Erorr connecting:java.io.ioeexception:read faild,socket might closed or timeout,read ret:-1
Note:I want a code that like this app search and connet to any blutooth devices that user select it after found.
whats your view about this problem?
how can i solve it?
where of code is not correct?
sincerely yours.
Attachments
Last edited: