Get phone name
BluetoothAdapter myDevice = BluetoothAdapter.getDefaultAdapter();
String deviceName = myDevice.getName();
The above code requires android.permission.BLUETOOTH permission
BluetoothAdapter myDevice = BluetoothAdapter.getDefaultAdapter();
String deviceName = myDevice.getName();
The above code requires android.permission.BLUETOOTH permission