android-ibeacon

AltBeacon is stopping the beacon scan. But keep scanning

左心房为你撑大大i 提交于 2021-01-29 10:21:41
问题 It is designed to scan every 4 seconds. However, beacons may not be detected from the start to the stop of scanning. After that, the beacon is detected after stopping the scan. The problem occurs at the following dates and times in the log. 08:54:20.807 D/CycledLeScanner(21211): Scan started 08:54:21.906 D/CycledLeScanner(21211): Done with scan cycle 08:54:22.336 D/Cycled LeScanner(21211): stopping bluetooth le scan 08:54:23.638 D/CycledLeScannerForLollipop(21211): got record And after this

Theory behind ARMA and Running Average filter and are there any alternative algorithms for calculating distance from RSSI of signal?

99封情书 提交于 2021-01-29 04:55:27
问题 I can see that the Android Bacon Library features two algorithms for measuring distance: the running average filter and the ARMA filter. How are these related to the library's implementation (apart from using the filter's formula)? Where can I find some background information about these that explains the theory behind it? Are there any known alternative algorithms that can be studied and tried out for measuring the distance? 回答1: There are two basic steps to giving a distance estimate on BLE

Can I transmit a beacon signal from my android device while at the same time scanning nearby beacons?

拟墨画扇 提交于 2020-08-23 03:37:22
问题 Is it possible to transmit and receive beacon signals at the same time using an android device acting as a beacon? 回答1: Yes, on Android 5+ devices that support beacon transmission (see the list here), you can both send and receive beacon transmissions simultaneously. You can see a demonstration of this using the Android Locate app. Simply turn on a transmitter, then switch to locating beacons. If you do this on two Android phones at the same time, they will both see eachother's transmission.

Can I transmit a beacon signal from my android device while at the same time scanning nearby beacons?

杀马特。学长 韩版系。学妹 提交于 2020-08-23 03:35:19
问题 Is it possible to transmit and receive beacon signals at the same time using an android device acting as a beacon? 回答1: Yes, on Android 5+ devices that support beacon transmission (see the list here), you can both send and receive beacon transmissions simultaneously. You can see a demonstration of this using the Android Locate app. Simply turn on a transmitter, then switch to locating beacons. If you do this on two Android phones at the same time, they will both see eachother's transmission.

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

痞子三分冷 提交于 2020-08-19 08:03:13
问题 altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml <uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/> <uses-permission android:name=\"android.permission.BLUETOOTH\"/> <uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/> <uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/> <uses-permission

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

我只是一个虾纸丫 提交于 2020-08-19 08:02:38
问题 altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml <uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/> <uses-permission android:name=\"android.permission.BLUETOOTH\"/> <uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/> <uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/> <uses-permission

using altbeacon library on android 8(oreo), background beacon scan not working

六眼飞鱼酱① 提交于 2020-06-28 05:08:20
问题 My app using Altbeacon library for beacon scanning. my code working well to api level 24(android 7) but doesn't not working on oreo(8.0.0) at first, my gradle setting compileSdkVersion and targetSdkVersion is 26, i thought it was because of this. so, i reference this**https://developer.android.com/about/versions/oreo/background.html#services**, fix my gradle setting(compileSdkVersion 25, targetSdkVersion 25). and install this app on device (apilevel 24, 26) on 24 level device working well,

using altbeacon library on android 8(oreo), background beacon scan not working

孤人 提交于 2020-06-28 05:08:13
问题 My app using Altbeacon library for beacon scanning. my code working well to api level 24(android 7) but doesn't not working on oreo(8.0.0) at first, my gradle setting compileSdkVersion and targetSdkVersion is 26, i thought it was because of this. so, i reference this**https://developer.android.com/about/versions/oreo/background.html#services**, fix my gradle setting(compileSdkVersion 25, targetSdkVersion 25). and install this app on device (apilevel 24, 26) on 24 level device working well,

How to get beacon receive new configuration

跟風遠走 提交于 2020-01-17 02:43:25
问题 I have the estimate beacon and I can change uuid from their iOS app but from what i read beacon use BLE tec. and it made to send only advertisement data so how does it receive the new configuration. thanks 回答1: It is true that iBeacons only advertise data, however vendors, such as Estimote, can support additional BLE functionality to allow functionality such as configuration. This is outside of the iBeacon specification and so each vendor will have their own services and chracteristics for

Get JSON response from ProximityKit KitUrl android

本小妞迷上赌 提交于 2020-01-06 04:03:07
问题 Overview of application: 1. Signup for Radius Developer's proximity kit and create Fences. 2. Get JSON response from PKKitURL in ProximityKit.properties file downloaded from website. 3. Parse JSON response to get lat and long. Get user's location and check for proximity. Currently, i have done signing up, creating fences, downloading .properties file and all other basic things needed to integrate the ProximityKit's SDK. Now I want to get the JSON response from the URL that's present in