title: Is it possible to implement a broadcastreceiver with BLE?
body: <p>Just as topic. We are a few developers trying to implement a broadcastreceiver using Bluetooth Low Energy, but we can't find anything at all.</p>
  
  <p>We know it is possible to register a receiver using <code>startDiscovery()</code>, but that doesn't seem to work with BLE.</p>
  
  <p>Is it something we have missed or are there any workarounds for this problem? We want to make a toast on a hidden application as soon as there are devices available to connect to.</p>
  
  <p>We don't want to use startLeScan with a callback, but want to use the system broadcasts on Discovery.</p>
  
  <p>Also, a service is not an option since we are making an API, and we want it to be easy to implement our code.</p>
  
  <p>This is what we tried:</p>
  
  <pre><code>BroadcastReceiver br = new BroadcastReceiver() {
     @Override
     public void onReceive(Context context, Intent intent) {
        android.util.Log.i("Yeah", intent.toURI());
     }
  };
  
  getApplicationContext().registerReceiver(br, 
  new IntentFilter(BluetoothDevice.ACTION_FOUND));
  
  mBluetoothAdapter.startDiscovery();
  </code></pre>