Questions tagged [android-companion-device]

The tag has no usage guidance.

android-companion-device
Filter by
Sorted by
Tagged with
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 ...
Cody's user avatar
  • 1,849
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, ...
Maragues's user avatar
  • 38.1k
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 ...
Dileepa Rathnayake's user avatar
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 ...
Timo Newton's user avatar
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 ...
Deddy's user avatar
  • 213
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 ...
Ov3r1oad's user avatar
  • 1,085
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 ...
Swifty's user avatar
  • 15
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 ...
Thomas's user avatar
  • 1
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-...
ligi's user avatar
  • 39.2k