altbeacon

What exactly is txPower for Bluetooth LE and how is it used?

大憨熊 提交于 2019-12-04 20:29:05
问题 I am trying to understand what exactly txPower is and how to use it, since I am planning to develop and Android app that uses Beacons. I have seen 2 definitions online: 1.The transmitted power of the beacon. 2.The received power 1 meter away from the beacon. How are these two definitions related? Also, when transmitting a Beacon signal from a device using an app such as QuickBeacon, how do I determine what to set the power (txPower) to? 回答1: Most beacon formats contain a single byte in the

Prompting for location permission when NOT monitoring in background?

蓝咒 提交于 2019-12-04 04:50:23
I'm using the Android Beacon Library. Since Marshmallow, I am seeing the following error, as expected and documented. Permission denial: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results I have my ranging code in a Fragment, and the RuntimeException is thrown when the Fragment is on screen, as expected as I'm not prompting for permission. If I hit the home button, Pause is called, and I'm unbinding beaconManager, and the exception is no longer thrown, again, as expected. Coming back to Activity from previous app list, the RuntimeException is thrown again each

Add custom data while advertising by using AltBeacon format

穿精又带淫゛_ 提交于 2019-12-03 21:54:23
I am learning Android app development while building an app that interacts with the physical web. I want to advertise based on AltBeacon specification and add small payload in the form of string or bytes . I came across Beacon.Builder Javadoc but it is not well written. Which function should I use from the above javadoc or is there something else available? My goal is to advertise using my app and transmit certain string. If the other device has my app then it should show notification with that string. All my code has been taken from this . Standard bluetooth beacon layouts (iBeacon, AltBeacon

Can a Windows PC act as a Bluetooth beacon?

懵懂的女人 提交于 2019-12-02 06:42:11
问题 Does a normal Windows (8.1) PC have the ability to act as a Bluetooth LE beacon? If so, is there any software to enable that? Update More current answers here: Beacons in Windows 10 回答1: Pre-Windows 10, Windows 8.1 in your case, doesn't support scanning or acting as iBeacon(s) nativly. However, you have some options: Use the WinBeacon managed library (yes, I'm the owner). Replace the driver of the Bluetooth 4.0 dongle with a libusb/WinUSB driver and you're all set Use a VM that runs linux

Finding point between two geo locations of beacons

ⅰ亾dé卋堺 提交于 2019-12-02 03:47:54
问题 Suppose we have two beacons placed in both sides of the road. We know their latitude and longitude where they are positioned (we treat them as a location). We also know the distance in meters between these two beacons (measered using Haversine Formula). Our device is moving between(inside range of these beacons) these two points.Is there out any function that will help us calculate our current position based on the distance between two beacons or based on the distance from device to a single

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

Background monitoring of Eddystone beacon using altbeacon library on android platform

两盒软妹~` 提交于 2019-12-01 22:31:25
问题 Is background monitoring of Eddystone beacon using altbeacon library on android platform possible? How can I achieve it? Following is the code by which I can detect beacons with a specified UUID when the app is launched, but I want to achieve the same when the app is not running. public class MainActivity extends ActionBarActivity implements BeaconConsumer,MonitorNotifier { private BeaconManager beaconManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

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