Java tutorial
//package com.java2s; import android.bluetooth.BluetoothAdapter; public class Main { public static boolean isDiscoverable() { BluetoothAdapter bluetoothDefaultAdapter = BluetoothAdapter.getDefaultAdapter(); if ((bluetoothDefaultAdapter != null) && (bluetoothDefaultAdapter.isEnabled())) { if (bluetoothDefaultAdapter.getScanMode() == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) return true; } return false; } }