An example of creating a BleAdapter and setting the scan parameters. Tested to run on both the HTC One and HTC One X+.