Did anyone have a successful experience on working with CompanionDeviceManager
on Android? Especially, with the devices with Bluetooth Classic support. I've been testing a pretty simple app which tries to connect some device using Bluetooth Classic and I keep getting different strange errors. The problems I'm facing:
- The internals of
CompanionDeviceManager
can crash with some nullpointer - The API uses
onActivityResult
mechanism and often I just get this callback with unsuccessful result (!Activity.RESULT_OK) - But most importantly, it takes way too long to discover a device
So, am I doing something wrong? Or this API is quite unstable?