List of usage examples for android.bluetooth BluetoothDevicePicker ACTION_LAUNCH
String ACTION_LAUNCH
To view the source code for android.bluetooth BluetoothDevicePicker ACTION_LAUNCH.
Click Source Link
From source file:com.google.android.car.kitchensink.bluetooth.MapMceTestFragment.java
void launchDevicePicker() { IntentFilter filter = new IntentFilter(); filter.addAction(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); getContext().registerReceiver(mPickerReceiver, filter); Intent intent = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); intent.setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); getContext().startActivity(intent);/*from www . j av a 2 s . co m*/ }