android-bluetooth

    2熱度

    1回答

    我正在通過可用範圍內的Bluetooth devices進行搜索。出於某種原因,每個找到的設備將被添加到ListView 兩次,當它只應顯示一次。 有沒有人有任何想法我在做什麼錯在這裏?代碼如下。 當發現找到的設備 if (BluetoothDevice.ACTION_FOUND.equals(action)) { // Get the BluetoothDevice object fr