android-ibeacon

Responsiveness of Background Beacon Monitoring (Android Beacon Library / Kontakt SDK / Estimote SDK)

情到浓时终转凉″ 提交于 2019-12-02 01:49:09
问题 Background: I am developing an Android app that monitors for specific beacons in the background, and upon entry detection, will perform custom coding. I am currently exploring this using Android Beacon Library, and is able to detect the beacon responsively most of the time when the screen is On (within seconds). However, when the screen is off, the responsiveness drops and may take minutes to half and hour to detect. I am wondering if there are ways to improve responsiveness as my usage

Responsiveness of Background Beacon Monitoring (Android Beacon Library / Kontakt SDK / Estimote SDK)

∥☆過路亽.° 提交于 2019-12-02 00:10:02
Background: I am developing an Android app that monitors for specific beacons in the background, and upon entry detection, will perform custom coding. I am currently exploring this using Android Beacon Library, and is able to detect the beacon responsively most of the time when the screen is On (within seconds). However, when the screen is off, the responsiveness drops and may take minutes to half and hour to detect. I am wondering if there are ways to improve responsiveness as my usage scenario requires a responsive background detection without having to turn on the phone (looking at a

Android iBeacon App not working in the background

我们两清 提交于 2019-12-01 14:45:57
I have developed Android app to detect the beacon if the customer is near to 1 mt distance . I am using Android Beacon Library to develop the application.When we are in foreground the I get the notification but as soon as the application goes into background .. notification stooped working . Could you help me where am I wrong ? Below is the code for BeaconApp and MainActivity. BeaconApp.java public class BeaconApp extends Application implements BootstrapNotifier { private static final String TAG = "BeaconApp"; private RegionBootstrap regionBootstrap; private Region allbeaconsregions; private

Android Beacon Library - correct use of BluetoothMedic?

巧了我就是萌 提交于 2019-12-01 14:23:40
I have some questions on the use of Bluetooth Medic, based on the following observations. Because Bluetooth stops on one of my devices I have been looking at the BluetoothMedic to see whether it can help. I've looked at the debug messages and the source code. I get somewhat different results depending on whether I use enablePeriodicTests() or individually run runScanTest() and runTransmitterTest(). With enablePeriodicTests(), BluetoothTestJob.onStartJob() runs scan and transmitter tests every 15 minutes, apparently OK. If my beacon is transmitting, I get "Scan test succeeded" then "scan test

Android Beacon Library - correct use of BluetoothMedic?

爷,独闯天下 提交于 2019-12-01 13:09:17
问题 I have some questions on the use of Bluetooth Medic, based on the following observations. Because Bluetooth stops on one of my devices I have been looking at the BluetoothMedic to see whether it can help. I've looked at the debug messages and the source code. I get somewhat different results depending on whether I use enablePeriodicTests() or individually run runScanTest() and runTransmitterTest(). With enablePeriodicTests(), BluetoothTestJob.onStartJob() runs scan and transmitter tests every

Android iBeacon App not working in the background

折月煮酒 提交于 2019-12-01 12:53:10
问题 I have developed Android app to detect the beacon if the customer is near to 1 mt distance . I am using Android Beacon Library to develop the application.When we are in foreground the I get the notification but as soon as the application goes into background .. notification stooped working . Could you help me where am I wrong ? Below is the code for BeaconApp and MainActivity. BeaconApp.java public class BeaconApp extends Application implements BootstrapNotifier { private static final String

onBeaconServiceConnect not called

℡╲_俬逩灬. 提交于 2019-12-01 11:13:46
问题 As before, I work with Android Beacon Library, It already worked and I can found out beacon via BLE - Bluetooth low energy, But now, after updated to latest version of library, now method onBeaconServiceConnect() not run anymore. Please tell me what I need to do to make it works, Thank you, p/s : Code : Manifest.xml <uses-feature android:name="android.hardware.bluetooth_le" android:required="true" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission

Can an Android 4.4 device act as an iBeacon? [closed]

牧云@^-^@ 提交于 2019-12-01 09:28:10
In an answer to another question , I saw that "You can also transmit as a beacon on rooted Android 4.4.3 devices, but it requires an app installed with system privileges." How can this be done? Yes, this is possible on 4.4.3, but the critical API methods startAdvertising() , stopAdvertising() and getAdvScanData() (which allows you to read and write the raw information sent out in the advertisement) are blocked from use unless an app has android.permission.BLUETOOTH_PRIVILEGED . This is a system-level permission, so the only way to get this is for your custom app is to root your phone, and

Can an Android 4.4 device act as an iBeacon? [closed]

99封情书 提交于 2019-12-01 06:56:06
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . In an answer to another question, I saw that "You can also transmit as a beacon on rooted Android 4.4.3 devices, but it requires an app installed with system privileges." How can this be done? 回答1: Yes, this is possible on 4.4.3, but the critical API methods startAdvertising() ,

All beacons are not shown in Android using altBeacon library

こ雲淡風輕ζ 提交于 2019-11-30 17:26:08
问题 I am using the AltBEacon Android library for developing an iBeacon app for Android devices . I am scanning for beacons, however, only two out of four beacons are found (sometimes 1/4). I increase mBeaconManager.setForegroundScanPeriod(5000l); to 5 seconds, but still same result. I am not sure if the CustomAdapter I use for binding details to view is wrong or the issue is do with the mobile device (I am using Galaxy Note II - Android 4.4.2 (KitKat))? Can anyone locate my mistake? Another issue