Android 實現藍牙客戶端與服務器端通訊

1、首先說明:藍牙通訊必須用手機測試,由於avd裏沒有相關的硬件,會報錯! 好了,看看最後的效果圖: java 2、概述: 1.判斷是否支持Bluetoothnode BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if(bluetoothAdapter == null) { //the d
相關文章
相關標籤/搜索