Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
BluetoothでAndroidデバイスに接続しようとしていますが、接続できませんでした
以下に簡単なコードがあります
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
しかし、私は結果adapter=nullを得て、Bluetoothはサポートされていません。中止しています。
adapter=null
エミュレータを介してBluetoothを接続する方法は? これは可能ですか?
エミュレータを使用してBluetoothに接続することはできません。PC に Bluetooth 機能がある場合は、アプリを使用して Android デバイスに接続できます。
物理デバイスを使用する必要があり、エミュレーターで BT を使用することはできません。