Android檢查設備鏈接狀態

遇到一個檢查藍牙設備鏈接狀態問題,困擾許久。在網上查詢良久,嘗試了多種方案,也沒有很好的解決,最終經「高人指點」,小有所獲,在此小記。android 網上查詢的主要方法爲如下兩種:web 1.getProfileConnectionState() BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); int state
相關文章
相關標籤/搜索