ibeacon-android

Multiple Estimote/Beacons in Xamarin.Android

北慕城南 提交于 2019-12-25 16:54:22
问题 I am very new to this beacons concept. For demo purpose i have configured one of my beacon/estimote using this sample application Android iBeacon App . Here the application can able to find single beacon at a time.I mean i have to pass the UUID of a single beacon to find whether it is inside the beacon range or not . Is there any possibility to find the multiple beacons using the same application.? I mean if the user enters the particular beacons range, the user should get the notification

Kontakt beacon how to retrieve beacon based on accuracy

白昼怎懂夜的黑 提交于 2019-12-25 03:44:36
问题 I need to scan when the beacons are near but what I need is that the beacon that gets find is the nearest not a random one. I tried with both methods: public void onBeaconsUpdated(final Region region, final List<BeaconDevice> beacons) { for(int i=0; i<beacons.size();i++) { beacon = beacons.get(i); if(beacon.getProximity() != Proximity.UNKNOWN && beacon.getAccuracy() < 4) { i = beacons.size() + 1; } }//THIS IS THE METHOD I USE TO GET THE NEAREST BEACON FROM THE LIST BUT IT DOESN'T WORK if

How to reduce the range detection interval in beacon for Android

人走茶凉 提交于 2019-12-24 19:22:32
问题 I have using Android Beacon Library for one of my beacon solution . I can see that if I enter the beacon range ..it calls the "didEnterRegion" function but it never enter the "didExitRegion" when I go off the beacon region . I am taking the above code which I used in here Android iBeacon App not working in the background . In addition to that is there any way I can reduce the range detection because I keep on getting that very frequently because logically I want to record the data and send

IBeacon getting warning Implcit intents are not safe on callback of MonitorNotifier

老子叫甜甜 提交于 2019-12-23 05:35:12
问题 I am using Android 4.4 and getting a warning message in the callback of Monitoring when a beacon with specified region is found. code I am using for monitoring is @Override public void onIBeaconServiceConnect() { iBeaconManager.setMonitorNotifier(new MonitorNotifier() { @Override public void didEnterRegion(Region region) { Log.e("didEnterRegion","I just saw an iBeacon for the first time!"); } @Override public void didExitRegion(Region region) { Log.e("didExitRegion","I no longer see an

onIBeaconServiceConnect() is not getting called in android

时光毁灭记忆、已成空白 提交于 2019-12-23 03:28:09
问题 I am using AndroidIbeacon library released by radiusnetworks and I am able to run their demo app successfully. But when I add that to my application onIBeaconServiceConnect() method is not called. Below my code, public class Sample extends Activity implements IBeaconConsumer { protected static final String TAG = "Sample"; private IBeaconManager iBeaconManager = IBeaconManager .getInstanceForApplication(this); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Using AltBeacon: start and stop scanning from app settings

♀尐吖头ヾ 提交于 2019-12-23 02:54:13
问题 I am integrating the AltBeacon API in an existing app. The app shall start actions in the background , when the user enters or leaves a "bluetooth zone". This functionality should be optional and the user should start and stop the scanning from the settings. I tryed bind/unbind the BeaconConsumer , but I saw, that in the background the BluetoothLeScanner is keeping scanning! How can I stop the BluetoothLeScanner from scanning? Is this the right way? Here is the code: @Override public void

AltBeacon library BootstrapNotifier does not call didEnterRegion

ⅰ亾dé卋堺 提交于 2019-12-22 09:20:57
问题 Hi i have created app using altbeacon reference app. And i want to call didEnterRegion using bootstrap notifier when app sees beacon in background. But i dont want it to scan background every 5 minutes, i want my app react to new beacon immediately. Is there some way to do this ? My Code : private static final String TAG = ".Application"; private final Identifier uuid = Identifier.parse("A1B2C3D4-AAAA-48D2-B060-D0C0D0C0D0C0"); private RegionBootstrap regionBootstrap; @Override public void

AltBeacon onBeaconServiceConnect not called

浪尽此生 提交于 2019-12-22 05:52:07
问题 I stuck implementing simple Beacon monitor with AltBeacon library using its examples. In short: I took its reference application, downloaded and integrated its latest build and run app on my Samsung Galaxy S2 with CM (Android 4.4.4). I see that onBeaconServiceConnect callback never called, though bindService is called. I believe onBeaconServiceConnect should be called in order application to work correctly. I've tried to set beaconManager.debug = true; but it didn't show me any new logs

Why isMultipleAdvertisementSupported() returns false, when getBluetoothLeAdvertiser returns an object?

人盡茶涼 提交于 2019-12-21 19:41:36
问题 I am trying to play with BLE transmission on my device. Here is the code I use and the output: // check BLE support Log.i(TAG, "BLE supported: " + getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)); // true // check BLE transmission support final BluetoothManager bluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); BluetoothAdapter mBluetoothAdapter = bluetoothManager.getAdapter(); Log.i(TAG, "isMultipleAdvertisementSupported: " +

Does Android Beacon Library really support background scanning?

三世轮回 提交于 2019-12-20 10:55:26
问题 I am using Android Beacon Library for BLE scanning with example. It works fine in foreground for both monitoring and ranging. However, for background, it only works for the cases of pressing "Home" in app and screen off. It is not work when I kill the app from task switcher. In the example, I cannot find anything like Service to make things working in background. Questions: Does Android Beacon Library support background scanning if the app is killed in task switcher? If so, how to do this?