Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Things and Bluetooth

As far as I read about the dev boards, every SoC is capable to use Bluetooth.

I didn't tested it yet, but can I use Android Things with a Bluetooth connection? My question is, how can I enable Bluetooth without an input device? If I want to enable Bluetooth on my phone (with code), I had to confirm it, but this can't be possible on Android Things.

like image 997
mars3142 Avatar asked Jan 04 '23 21:01

mars3142


1 Answers

Update: Since the release of Android Things developer preview 3, Bluetooth and BLE are now available.

Old Answer

No. You can not use Bluetooth with the current version of AndroidThings (developer preview 1).

It is said in the known issues part of the release notes that Bluetooth is currently disabled (and so is USB).

It is supposed to be included at some point, but at the moment if you try to get a BluetoothAdapter it does return null.

like image 52
shalafi Avatar answered Jan 30 '23 19:01

shalafi