title: how to get all available Eddystone beacons
body: <p>I'm trying to display all the available Eddystone beacons in my app.I have two eddystone for testing this app.when i open app,It's scann beacons and display duplicated values like attached image..i want to show both beacons sametime when i open the app (-57 beacon and -69 beacon ).I'm using below code.</p>
  
  <p>i have initialize these Arraylist on top</p>
  
  <pre><code>    txpowerArray= new ArrayList&lt;String&gt;();
      urlArray=new ArrayList&lt;String&gt;();
  
      private BluetoothAdapter.LeScanCallback mLeScanCallback =new BluetoothAdapter.LeScanCallback() {
                 @Override
                 public void onLeScan(final BluetoothDevice device,final int rssi,final byte[] scanRecord)
                 {
                       new Thread()
                         {
                             public void run()
                             {
                                 RangingActivity.this.runOnUiThread(new Runnable()
                                 {
                                     public void run()
                                     {
                                      connect(rssi, scanRecord,device);
  
                                     }
                                 });
                             }
                         }.start();
  
                 }
  
             };
  
  
       public void connect(int rssi, byte[] scanRecord,BluetoothDevice device){
  
              List&lt;ADStructure&gt; structures =
                      ADPayloadParser.getInstance().parse(scanRecord);
      mHandler.postDelayed(new Runnable() {
          @Override
          public void run() {
             for (ADStructure structure : structures)
              {
  
                  if (structure instanceof EddystoneURL)
                  {
  
                      EddystoneURL es = (EddystoneURL)structure;
  
                      Log.d("Eddy", "Tx Power = " + es.getTxPower());
                      Log.d("Eddy", "URL = " + es.getURL() );
  
                          clickUrl=es.getURL().toString();
                          txpower=String.valueOf(es.getTxPower());
  
  
                      txpowerArray.add(txpower);
                      urlArray.add("" + clickUrl);
  
                      Log.d("devicelist", " "+url+" "+txpower);
  
                          mBluetoothAdapter.stopLeScan(mLeScanCallback);
  
                  }else {
  
                   }
  
              }
          }
      }, 4000);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zYG9B.png" rel="nofollow">Duplicate beacons</a></p>