Android 監測藍牙程序是否開啓

android監測藍牙程序是否開啓,若要開啓記得在xml中添加藍牙權限 private void checkBluetoothValid() { final BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); if(adapter == null) { AlertDialog dialog = new AlertDial
相關文章
相關標籤/搜索