Questions tagged [android-companion-device]
The android-companion-device tag has no usage guidance.
android-companion-device
9
questions
3
votes
4
answers
1k
views
Android CompanionDeviceManager Never Finds Any Nearby Bluetooth Devices
UPDATE: Added Main Activity code which contains Bluetooth permissions logic
I'm trying to utilize Android's CompanionDeviceManager API to find nearby bluetooth (non LE) devices on my Pixel 5 running ...
3
votes
2
answers
831
views
CompanionDeviceService unbinds immediately
I'm trying to implement CompanionDeviceService in order to interact with our BLE device. According to the documentation
System will keep this service bound whenever an associated device is nearby, ...
2
votes
1
answer
798
views
Can any BLE device be a Companion Device?
I'm developing a flutter application (fairly new to this).
My app need to connect to a BLE device and get data when it is close by. As I found Android Companion Device Manage seems to suit my ...
1
vote
1
answer
1k
views
Android Companion Device Manager/Pairing and devices that require bonds
We recently rewrote a significant part of our app, but are now running in to some behaviour around device pairing bonding in particular that we would like to improve. We connect to a number of ...
1
vote
2
answers
403
views
CompanionDeviceService gets destroyed right after creation
I have simple activity with function that when called displays ble pairing request. After user confirms, startObservingDevicePresence("Some Mac address") is called. That successfully ...
1
vote
2
answers
498
views
CompanionDeviceManager instability in Android
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 ...
0
votes
1
answer
602
views
How to connect to a WearOS companion watch app using Kotlin?
For days now I have been trying to connect a Jetpack Compose app to an WearOS watch (simulator), and I just can't figure it out. I have successfully paired the simulators (Wear OS app shows Connected ...
0
votes
0
answers
59
views
CompanionDeviceManager Bluetooth dialogue is not shown on Fossil Gen 6 with Wear OS 3 / Android 11
I have two apps with very similar code base working fine on mobile (Android 13 / API 33) and wear (Android 11 / API level 30) with the old style Bluetooth connection procedure.
When trying to publish ...
0
votes
0
answers
331
views
Outgoing transactions from this process must be FLAG_ONEWAY when using CompanionDeviceManager
I am trying to use the CompanionDeviceManager as described here - but I am getting this error:
02-09 23:03:58.592 4729 4729 W Binder : Outgoing transactions from this process must be FLAG_ONEWAY
02-...