BLE Beacon SDK for Android is a library that allows interaction with any iBeacon / Eddystone compatible devices, including both Leantegra beacons and 3rd-party devices from other vendors (e.g. Estimote, Kontakt.io).
Features:
- WiBeat management: connect\disconnect, read\write all info from nearby device, upgrade firmware;
- WiBeat ranging: scanning for nearby devices, filtering by specified properties, distance to device (IMMEDIATE, NEAR, FAR zones; distance in meters), distance tunning and calibration functionality;
- WiBeat monitoring: monitors Enter\Exit events for predefined regions that can be defined by multiple rules (UUID, distance, zone, Major, Minor etc.);
- Integration with Leantegra CMS (notifications, multi-rules, analytics, proximity analytics);
- Mobile RTLS: calculates user's phone position in location that is covered by WiBeats;
- Mobile Routing: calculates shortest route and distance between two points;
- Mobile Map: load and display location's OSM map from CVO portal.
- Put leantegra-android-sdk_1.10.0.aar into project's
libs
directory; - Add into
build.gradle
:
repositories {
flatDir {
dirs 'libs'
}
}
- Add into
build.gradle
dependency to WiBeat SDK:
dependencies {
compile(name:'leantegra-android-sdk_1.10.0', ext:'aar')
}
- All needed permissions (
BLUETOOTH
,BLUETOOTH_ADMIN
andINTERNET
) and services will be merged from SDK'sAndroidManifest.xml
to your application'sAndroidManifest.xml
; - Initialize WiBeat SDK without using Leantegra CMS:
LeantegraSDK.initialize(applicationContext);
- Initialize WiBeat SDK with using Leantegra CMS:
LeantegraSDK.initialize(applicationContext);
ApplicationCmsClient applicationCmsClient = CmsClientFactory.createApplicationCmsClient(applicationContext);
JavaDocs for WiBeat SDK you can find here.
Demo applications you can find here.
The list of changes in WiBeat SDK for Android located in CHANGELOG.