EasyBle icon indicating copy to clipboard operation
EasyBle copied to clipboard

save to shared preferences

Open r3l4x-pt opened this issue 4 years ago • 1 comments

hi. whe a device is selected is it possible to save it to shared preferences so when the app is opened again it will try to connect with out scanning? ive tried saving the device and then assign it to device but get app crash. thank you

r3l4x-pt avatar Apr 13 '21 22:04 r3l4x-pt

if u don't scan, u can save the device address and use BleManager#connect(String address, BleConnectCallback callback) to connect target devcie

Ficat avatar Apr 25 '21 10:04 Ficat