BluetoothDevice.getNameで、Bluetooth機器名を取得する。
BluetoothDevice | Android Developers
CustomReceiver.javaで、
bluetoothDevice.getNameで取得した名前をToast表示。
![nullが多い](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20201217/20201217141631.png)
nullが多い。
![1個だけ](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20201217/20201217141806.png)
1個だけ。
![DesireだとEssentialとれた](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20201217/20201217141925.png)
DesireだとEssentialとれた。
Sample/android/BluetoothDevice/getName/src/BluetoothDevice at master · bg1bgst333/Sample · GitHub