how android can detect the proximity location of the beacon

934 views Asked by At

I am developing an apps for detecting estimote beacon in range using android studio 2.3.2.

I just want to make it clear and understand, that actually in order to detect and get the proximity location of the estimote beacon using android apps, we just have to include the permission of Bluetooth Low Energy (BLE) in android studio and run the apps for testing. Do guide and correct me if i am wrong.

1

There are 1 answers

4
davidgyoung On

You must obtain both BLUETOOTH_ADMIN and COARSE_LOCATION permissions to scan for beacons on Android 6+. The latter permission is considered dangerous, so it requires prompting the user at runtime in your app in addition to adding the permission to the AndroidManifest.xml.

You can read more about how to prompt for the location permission here:

http://altbeacon.github.io/android-beacon-library/requesting_permission.html