I'm trying to make an app in Android Studio using Estimote beacon. I need a check like this. When my phone entered my beacon's range.
My application will be display a message like "you entered the beacon area!"
Thank you.
I'm trying to make an app in Android Studio using Estimote beacon. I need a check like this. When my phone entered my beacon's range.
My application will be display a message like "you entered the beacon area!"
Thank you.
If you want to launch notifications when someone enters beacon's range, you'll need to implement Region Monitoring. You should define a region with the Estimote SDK: if you only want it to work with a single beacon, you should define the region with all the values (UUID, Major, and Minor).
Notification will be triggered when someone arrives in the range of a beacon if you set it up with the onEnteredRegion method. There's also onExitedRegion, for triggering actions when user leaves the region. You can look it up in the SDK documentation under the BeaconManager class: http://estimote.github.io/Android-SDK/JavaDocs/.
Cheers.
Use the Estimote SDK or implement your own generic BLE solution using BluetoothAdapter.startLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback).
Basic Logic: