Android Question B4A V8.00 Bluetooth does not fire Bluetooth discover _DeviceFound event

johan vetsuypens

Member
Licensed User
Longtime User
Hello,

When I download the sample https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/#content from the B4A samples, and run it on an Android device, it works fine. When I create a new project, and copy manually the content of the working bluetooth sample to this new project, the _DeviceFound event doesn't get fired.

Using C:\Android\platforms\android-26\android.jar

Attached the project that doesn't work.
I tried to re-install B4A V8.0 but no success. Any taught ?

You can download the non working project here : https://wetransfer.com/downloads/21...6897affe47e71da3b6d7c83c20180330094616/5707a3


thanks,
Johan
 

johan vetsuypens

Member
Licensed User
Longtime User
OK. I removed BluetoothAdmin from the project and work only via the Serial library.
I added .Initialize("android.settings.BLUETOOTH_SETTINGS","") to open the Bluetooth setting so the user can pair manually.

thanks for the info.

johan
 
Upvote 0
Top