src/com/btwiz/library/BTWiz.java
public static Intent enableBTDiscoverabilityIntent(int duration_secs) {
		Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
		if (duration_secs != -1) {
			discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, duration_secs);
		}
		return discoverableIntent;
	}
/**
	 * Returns an Intent used (startActivity) to allow the user to set 
	 * this device for BT discoverability for a user set interval. Values above
	 * 3600 secs will automatically be set to default value (120 secs)  
	 */
Returns an Intent used (startActivity) to allow the user to set
this device for BT discoverability for a user set interval. Values above
3600 secs will automatically be set to default value (120 secs)
Returns an Intent used ( startActivity ) to allow the user to set this device for BT discoverability for a user set interval . Values above 3600 secs will automatically be set to default value ( 120 secs )
public static Intent enableBTDiscoverabilityIntent(int duration_secs) {
		Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
		if (duration_secs != -1) {
			discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, duration_secs);
		}
		return discoverableIntent;
	}
public static Intent enableBTDiscoverabilityIntent ( int duration_secs ) { Intent discoverableIntent = new Intent ( BluetoothAdapter . ACTION_REQUEST_DISCOVERABLE ) ; if ( duration_secs != - 1 ) { discoverableIntent . putExtra ( BluetoothAdapter . EXTRA_DISCOVERABLE_DURATION , duration_secs ) ; } return discoverableIntent ; }
Returns an Intent used (startActivity) to allow the user to set
 this device for BT discoverability for a user set interval.
Returns an Intent used ( startActivity ) to allow the user to set this device for BT discoverability for a user set interval .