estimote

Estimote Nearables

倖福魔咒の 提交于 2019-12-07 10:47:15
问题 All, I am trying to find the proximity of a nearable. I am constructing a switch statement to check if its near, intermidetate, far etc. I am working in Swift. I have ranged my nearable and I am in a delegate method : func nearableManager(manager: ESTNearableManager!, didRangeNearable nearable: ESTNearable!) { self.nearable = nearable } When I try and get Zone it doesn't find it, so nearable.zone is not found - I don't know what is wrong. Any ideas ? 回答1: I had the same problem. Here is my SO

NotificationManager Error Android Studio

ⅰ亾dé卋堺 提交于 2019-12-06 06:58:14
I have write a code to have pop-up Notification when in range of Beacon. my code for notification like this: private void showNotification(String message){ Log.d("Hay8","DCM8"); Intent intent = new Intent(context, MainActivity.class); Log.d("Hay9","DCM9"); PendingIntent pendingIntent = PendingIntent.getActivity(context,0,intent,PendingIntent.FLAG_UPDATE_CURRENT); Log.d("Hay10","DCM10"); NotificationCompat.Builder builder = new NotificationCompat.Builder(context,"default") .setSmallIcon(android.R.drawable.ic_dialog_info) .setContentTitle("Notification1") .setContentText(message) .setDefaults

Local Notification When didEnterRegion?

眉间皱痕 提交于 2019-12-05 23:59:36
I have the following code which work perfect when app terminated. -(void)beaconManager:(id)manager didEnterRegion:(CLBeaconRegion *)region{ UILocalNotification *notification = [UILocalNotification new]; notification.alertBody = @"TEST NOTIFICATION"; notification.soundName = UILocalNotificationDefaultSoundName; [[UIApplication sharedApplication] presentLocalNotificationNow:notification]; } But When I do the following: -(void) createTestNotification { UILocalNotification *notification = [UILocalNotification new]; notification.alertBody = @"TEST"; notification.soundName =

Estimote: detecting multiple beacons with ESTBeaconRegion and startRangingBeaconsInRegion?

蹲街弑〆低调 提交于 2019-12-04 21:30:59
Beginner Estimote question: What is the correct approach for adding multiple Estimote beacons, with their respective major/minors, so that all beacons can be detected separately using startRangingBeaconsInRegion? This code works fine for a single beacon: // Single Beacon Region ESTBeaconRegion* beaconRegion = [[ESTBeaconRegion alloc] initWithProximityUUID:ESTIMOTE_PROXIMITY_UUID major:11111 minor:11111 identifier: @"EstimoteSampleRegion"]; // Start ranging beacons [self.beaconManager startRangingBeaconsInRegion:beaconRegion]; However this code does not work for multiple beacons: // Beacon 1

iBeacon: Get advertisement package faster

房东的猫 提交于 2019-12-02 13:03:07
In my app I get the information of the beacons with CoreLocation and and the LocationManager. I've set the advertising interval of the beacons to 200ms. Is it possible to call the didRangeBeacons delegate method faster, so that i get the values of the advertising package according to the advertising interval of the beacon? No, you cannot alter the frequency of the didRangeBeacons:inRegion callback, which is 1 Hz regardless of the beacon advertising frequency. You can get callbacks for each beacon advertisement (every 200 ms in your case) using CoreBluetooth APIs , but there are a couple of

Estimote iBeacon: Monitoring in background (Android)

只愿长相守 提交于 2019-11-30 07:55:07
I would like to have push notifications when my app is open but is in background. For now I have changed the Estimote Demo, and my app gives me a notification when my app is in foreground which is not much of use. I post here my code of NotifyDemoActivity class which is called as soon as I open the app public class NotifyDemoActivity extends Activity { private static final String TAG = NotifyDemoActivity.class.getSimpleName(); private static final int NOTIFICATION_ID = 123; private BeaconManager beaconManager; private NotificationManager notificationManager; private Region region; private long

Estimote iBeacon: Monitoring in background (Android)

时间秒杀一切 提交于 2019-11-29 10:17:47
问题 I would like to have push notifications when my app is open but is in background. For now I have changed the Estimote Demo, and my app gives me a notification when my app is in foreground which is not much of use. I post here my code of NotifyDemoActivity class which is called as soon as I open the app public class NotifyDemoActivity extends Activity { private static final String TAG = NotifyDemoActivity.class.getSimpleName(); private static final int NOTIFICATION_ID = 123; private

Accessing battery level of battery powered iBeacon devices (mainly kontakt io ones)?

元气小坏坏 提交于 2019-11-28 14:13:06
I am trying to find a way to access the battery levels from my beacons through an iOS application I am currently working on. I am using Kontakt's iBeacon devices. I browsed the Estimote iOS SDK and they provide a method to achieve this. I was wondering if it is at all able to access the raw beacon packet and manually extract the data since I know the beacon packet structure and the information is there. Any thoughts on how to achieve this by the method mentioned here or any other way? Thanks Guys. This is Rafal from kontakt.io. Firstly, let me thank you for choosing us, it means a lot for us.

How to include AAR in React Native Android build?

人盡茶涼 提交于 2019-11-28 08:14:47
问题 I'm trying to include an AAR file with my React Native Android app so that I can access its features using native code. How can I bundle an AAR so that native code can import it with React Native Android? Thanks! The error I get is this when compiling: ~\app\android\app\src\main\java\com\grind\GrindModule.java:13: error: package com.estimote.sdk does not exist import com.estimote.sdk.EstimoteSDK; ^ I've made the following changes: Create android/app/libs/estimote-sdk.aar . Create react native

Accessing battery level of battery powered iBeacon devices (mainly kontakt io ones)?

不打扰是莪最后的温柔 提交于 2019-11-27 08:16:42
问题 I am trying to find a way to access the battery levels from my beacons through an iOS application I am currently working on. I am using Kontakt's iBeacon devices. I browsed the Estimote iOS SDK and they provide a method to achieve this. I was wondering if it is at all able to access the raw beacon packet and manually extract the data since I know the beacon packet structure and the information is there. Any thoughts on how to achieve this by the method mentioned here or any other way? Thanks