get Bluetooth Adapter - Android android.bluetooth

Android examples for android.bluetooth:BluetoothAdapter

Description

get Bluetooth Adapter

Demo Code

import android.bluetooth.BluetoothAdapter;

public class Main {

  static BluetoothAdapter getBluetoothAdapter() {
    return BluetoothAdapter.getDefaultAdapter();
  }//from  w w w.ja va 2 s .com

}

Related Tutorials