Developers

blukii-sdk

blukii-sdk is the library for discovery and connection based configuration of blukii modules.

Documentation and support

To learn about the usage of the library classes please find the library’s javadoc documentation.

We recommend you to start with the following documentation pages where you can find some sample code fragments:

For further question please contact the blukii developer support at support@blukii.com.

History

If you are already using our blukii-info-sdk, please note that it has been moved into blukii-sdk package info, containing the compatible object model.

Follow the steps to switch from blukii-info-sdk to blukii-sdk:

  1. Replace the dependency from ‘com.blukii:blukii-info-sdk:1.0.x’ to ‘com.blukii:blukii-sdk:1.0.3’
  2. Find and Replace the package name all dependent import statements from ‘com.blukii.infosdk’ to ‘com.blukii.sdk.info’.

Changelog

Version 1.0.1

First version

Version 1.0.2

Version 1.0.3

Getting started

Please follow the instructions for using the blukii-sdk in your Android Studio project.

Android version

The minimum Android version is 4.4 Kitkat (API level 19) and the device has to support Bluetooth LE 4.0.

Dependencies

The blukii-sdk can be easily integrated by adding the following dependency to your module’s build.gradle:

 dependencies {
    ...
    compile 'com.blukii:blukii-sdk:1.0.3'
    ...
 }

Permissions

For Bluetooth LE you need to insert the following permissions to your AndroidManifest.xml:

    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

For Apps with targetSdkVersion 23 (Android 6) and later you need to add a third permission:

    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

Please be aware that you have to handle “Runtime Permissions” in your App since Android 6. This blog gives you a good instruction.

If you want to resolve data from the blukii Manager (package info) you need to add the following:

    <uses-permission android:name="android.permission.INTERNET" />

Ready!

Now you are ready to start developing your blukii App!

The library’s javadoc documentation should help you to understand developing based on blukii technology.