Scanning Beacons

Hello people… I am new in this technology.
I am building an app that just scan nearby Beacons. But my code can’t find devices…

All permissions have been granted. Added " compile ‘com.estimote:sdk:1.0.0:release@aar’ " to grandle dependencies…

Take a look on my code:

This code keep showing:
04-05 16:16:13.306 7719-7719/I/System.out: [] 0
04-05 16:16:13.306 7719-7719/I/System.out: [] 0

04-05 16:16:13.306 7719-7719/I/System.out: [] 0

Is that something wrong in my code?! Thanks in advance for any help.

It looks like you’re using LocationDiscovery, which, per its documentation:

Starts scanning for Estimote Location packets in your vicinity.

All Estimote Beacons ship with the Estimote Location packed disabled by default. You can enable it with the Estimote app.

If you’re just getting started, it might be easier to follow this Android tutorial instead:
http://developer.estimote.com/android/tutorial/part-1-setting-up/

This tutorial uses the iBeacon packet, which is enabled by default.

Thank you!! Your solution covered what was happening with my app…
I changed to

BeaconRegion region;
beaconManager.setRangingListener(...);
beaconManager.startRanging(region);

and the Beacons were found.