How we can get Beacon device name?
EstimoteCloud.getInstance().fetchBeaconDetails(beacon.getMacAddress(), new CloudCallback<BeaconInfo>() {
@Override
public void success(BeaconInfo beaconInfo) {
Log.e(TAG+"===========", String.valueOf(beaconInfo.name));
}
@Override
public void failure(EstimoteServerException e) {
Log.e(TAG, "BEACON INFO ERROR: " + e);
}
});
beaconInfo.name in your success() methode.
BUT: if you are using proximity beacons, you can use fetchBeaconDetails.
if you are using Location Beacons, you must use fetchDeviceDetails.
It is not critical for your task, but later it could produce problems
See: Estimote Android SDK on gitHub - Question 167