Cubeacon SDK for Android is a library to allow interaction with any beacons. The SDK system requirements are Android 4.3 or above and Bluetooth Low Energy.
Cubeacon SDK allows for:
Learn more at:
cubeacon-x.y.z.aar
from Github release page.libs
directory.On your build.gradle
within app
module, add this lines below before dependencies
tag
repositories{
flatDir {
dirs 'libs'
}
}
Then add compile 'com.eyro.cubeacon:cubeacon:x.y.z@aar'
into your dependecies
.
Create custom application class and add the following code to the onCreate()
method to initialize the Cubeacon SDK.
Cubeacon.initialize(this);
Don't forget to add your custom application class into AndroidManifest.xml
(Optional) You can add some custom setup :
Logger.setLogLevel(LogLevel)
before initialize SDK.LogLevel
from : NONE
, ASSERT
, DEBUG
, ERROR
, INFO
, WARN
, or VERBOSE
.Read about detailed changelog here