This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

achieve beacon region enter and exit in android with nRF58122

Hello, Dear Nordic Development Team,

I recently developed android application for detecting nRF51822 beacon which is working as a peripheral. I was trying to launch an app when user enters beacon region and do some action on exit of the region. I was successfully able to scan the devices without any filters using BluetoothLeScannerCompat.getScanner() but every time I was getting CALLBACK_TYPE_ALL_MATCHES and was not getting CALLBACK_TYPE_FIRST_MATCH and CALLBACK_TYPE_MATCH_LOST.

I also tried achieve the thing as done in nRF Beacon application by using onEnterRegion, onExitRegion and onBeaconsInRegion. But I am not able to bind the service like "ServiceProxy.bindService()" even though my application is running in android 7.0 version.

Please let me know how to achieve the beacon region enter and exit? Thanks in advance.

Related