Android Question BLE2 Automatic Shutdown

Rosin

Member
Licensed User
Hello,I try to use the BLE2 library to finish my Bluetooth plate,the code in my Application is the same as BLE2 example,but when i try to write data to the equipment.Some times,it might be success.And i can receive the data in the event.But most of the time(because of the Cheap Bluetooth device),it will automatic shutdown the connection or what else lead to fail in writing to the device or refuse connection.In that case,my App will exit at the same time.So,i wonder a good idea to build a...Emm...Exception callback function?Any reply will be appreciated.Thank you.
 
Top