android - Getting 0 item in beacon list in BeaconStream sdk -


below method in getting 0 item in beacon list. in "onbeaconsdiscovered" methods list size 0.

manager.setbeaconstreamranginlistener(new beaconstreammanager.beaconstreamranginglistener()         {             @override             public void onbeaconsdiscovered(beaconstreamregion beaconstreamregion, hashmap<integer, list<beacon>> list)             {                 if (!list.isempty())                 {                     beacon nearestbeacon = list.get(0).get(0);                     list<string> places = placesnearbeacon(nearestbeacon);                     log.d("airport", "nearest places: " );                 }                 else                 {                     toast.maketext(beaconactivity.this, "no beacon found", toast.length_short).show();                 }             }         }); 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -