Android Question Hints for bluetooth connection

Alphaw

Member
Licensed User
Longtime User
Hello everyone,

I am going to make an app about connect a thing (which is not mobile, just for gear or earphone) with bluetooth, I try the example of BLE2 (https://www.b4x.com/android/forum/threads/ble-2-bluetooth-low-energy.59937/) and other relative bluetooth post, however I cannot scan and connect other item.

So, I would want to know that if I am going to connect an object item, which lib or class modules I need to use or what events I should include?

Besides, I will also want to set that if there is disconnection, the phone will vibrate and ring-alarm, which lib should I use?

Last question, as I read the ble2 example, the disconnection is done when we click the disconnect button, however, if the connection is suddenly loss contact by turning off opposite side, will the disconnect event automatical raised?

Thank you.
 
Top