Questions tagged [android-ibeacon]

An Android library providing APIs to interact with iBeacon technology.

About

With Radius Networks' Android Beacon Service library, you can make Android versions of your iOS apps that use iBeacon technology, or come up with new Android-only creations.

It allows Android devices to use iBeacon technology much like iOS devices do. An app can request to get notifications when one or more proximity beacons appear or disappear. An app can also request to get a ranging update from one or more beacons at a frequency of 1Hz.

Links

Website

Documentation

292 questions
0
votes
1 answer

How to get url from Eddystone Beacon on monitoring mode using Android Beacon Library?

I have seen some examples how to get the URL frame of the Eddystone beacon by ranging but not by monitoring beaconManager.setRangeNotifier(new RangeNotifier() { @Override public void didRangeBeaconsInRegion(Collection beacons,…
bman
  • 3,740
  • 9
  • 34
  • 40
0
votes
1 answer

Infinite Android BLE Scan for BLE-Beacon packets

I am working on the distance estimation of BLE Beacons from the Android phone. I have developed my own algorithms for distance estimation based on RSSI. (I shall roll out the distance calculation algorithms in the form of a library soon). For…
0
votes
1 answer

Error when updating the scan period with Android beacon Library

I am trying to change the scan period with android beacon library. This is my code BeaconManager beaconManager = BeaconManager.getInstanceForApplication(this); beaconManager = BeaconManager.getInstanceForApplication(this); …
user3235881
  • 487
  • 2
  • 9
  • 24
0
votes
1 answer

Pass a method to another activity

I am working with some Estimote beacons (basically bluetooth proximity beacons) and I am creating an android app that switches screens once it picks up a certain beacon. public class MainActivity extends AppCompatActivity implements…
Wongesse
  • 112
  • 1
  • 2
  • 8
0
votes
1 answer

Android: redesigning producer consumer /approach for sensor data

I have a single threaded Android application for reading data from beacons. I have a service that handles the beacon readings today (mainactivity just starts this service). I am noticing that my code base is becoming complex and need to be…
mobileDev
  • 1,358
  • 2
  • 14
  • 34
0
votes
0 answers

How to get beacon's distance in meters?

I need to create a small prototype using beacons and to display the distance to each beacon in meters. At the moment I can only see which is the closest one but need to display as well how far is the device from the beacon. So my question is "How to…
Octtavius
  • 563
  • 8
  • 29
0
votes
1 answer

Android Beacon Library Setup Refresh Rate

I am trying to increase the update rate of my Beacon App. Currently the Beacons itself are setup to an "I am here!"-rate of 500ms. I read that the default refresh rate of the Android Beacon Library is set to 1100ms which seems to be the case. But it…
olop01
  • 273
  • 3
  • 18
0
votes
1 answer

Convert from Long to hex

I want to change to value of the major and minor of my beacon by calling a shell script from a java code. If for example I want to set the value of the Major to 39321, I have to pass a string with the value 99 99 as parameter to the shell code. If I…
Celiiine
  • 19
  • 5
0
votes
2 answers

Convert from millis to hex String

I want to set the current time as the major and minor values of a beacon. Lets suppose this is the current time 1465398279009. I want 9827 to be the value of the major and 9009 the value of the minor. I use a java code to call the shell script. this…
Celiiine
  • 19
  • 5
0
votes
1 answer

Is the path loss formula correct?

I have been doing some tests with the path loss formula and it gives me some pretty good results so far. However, I looked at the original code and saw that the formula used is distance = Math.pow(10.0, ((-adjustedRssi+txPower)/10*0.35)) where…
user3001845
  • 465
  • 2
  • 7
  • 13
0
votes
1 answer

Configuration for efficient beacon simulation

I want to figure out the configuration that allows me to detect the new UUID of a beacon when it changes in the shortest time. I use this code in my Raspberry Pi to start the beacon sudo hciconfig hci0 reset sudo hciconfig hci0 up sudo hcitool -i…
Keyb
  • 33
  • 4
0
votes
1 answer

Does alt beacon support multiple siloed "clients" within the same app?

In my Android app, I'm using a library that's based on alt beacon, but would also like to range for beacons in "my code". Does alt beacon support multiple "clients". It seems as if the other library is removing regions that I'm ranging. When I'm…
treesAreEverywhere
  • 3,722
  • 4
  • 28
  • 51
0
votes
1 answer

Is there a way of enabling the path loss formula in Android Beacon Library easily and how can I calculate the parameters for the formula?

I was able to switch to the path loss formula but I had to do it manually through beacon.setDistanceCalculator(new PathLossCalculator(param1, param2)) but this method requires me to enter the constants manually and not automatically the ones for…
user3001845
  • 465
  • 2
  • 7
  • 13
0
votes
1 answer

Android robolectric tests manifest merge issue (android beacon library)

I have the simple Test Case @Config(constants = BuildConfig.class) @RunWith(RobolectricGradleTestRunner.class) public class BaseTest { @Test public void startEverTestSugarAppAsFirst() { …
0
votes
1 answer

Can an Android device act as an iBeacon, with Flag?

I want to transmit iBeacon data packet from android phone, with data flag. Data Flag (0x01) is Bluetooth GAP specification that represents beacon's capability. My situation: Currently, I'm trying to advertise using BluetoothLeAdvertiser. But it…
Stanley Ko
  • 3,383
  • 3
  • 34
  • 60