src/com/btwiz/library/BTWiz.java
public static void init(Context context) throws DeviceNotSupportBluetooth {
		if (bluetoothAdapter != null) {
			return; // already initialized
		}
		
//		if (!PermissionValidator.basicPermissionIsSet(context)) {
//			Log.e("BTWiz", "App must be granted an android.permission.BLUETOOTH permission!");
//		}
		bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
		if (bluetoothAdapter == null) {
			Log.e("BTWiz", "Device does not support BT");
			throw new DeviceNotSupportBluetooth(); 
		}
	}
/**
	 * Checks for device BT support and initializes the bluetoothAdapter
	 * Should not, typically, be called directly by the using app    
	 */
Checks for device BT support and initializes the bluetoothAdapter
Should not, typically, be called directly by the using app
Checks for device BT support and initializes the bluetoothAdapter Should not typically be called directly by the using app
public static void init(Context context) throws DeviceNotSupportBluetooth {
		if (bluetoothAdapter != null) {
			return; 
		}
		bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
		if (bluetoothAdapter == null) {
			Log.e("BTWiz", "Device does not support BT");
			throw new DeviceNotSupportBluetooth(); 
		}
	}
public static void init ( Context context ) throws DeviceNotSupportBluetooth { if ( bluetoothAdapter != null ) { return ; } bluetoothAdapter = BluetoothAdapter . getDefaultAdapter ( ) ; if ( bluetoothAdapter == null ) { Log . e ( "BTWiz" , "Device does not support BT" ) ; throw new DeviceNotSupportBluetooth ( ) ; } }
Checks for device BT support and initializes the bluetoothAdapter
 Should not, typically, be called directly by the using app
Checks for device BT support and initializes the bluetoothAdapter Should not typically be called directly by the using app
// already initialized //		if (!PermissionValidator.basicPermissionIsSet(context)) { //			Log.e("BTWiz", "App must be granted an android.permission.BLUETOOTH permission!"); //		}