-
-
Save sidishere/bacb3d4930a07b68d83234843d2f189c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Register for broadcasts when a device is discovered IntentFilter filter = new IntentFilter(BluetoothDevice.ACTION_FOUND); | |
this.registerReceiver(mReceiver, filter); // Register for broadcasts when discovery has finished | |
filter = new IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED); | |
this.registerReceiver(mReceiver, filter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment