Data Sheet

Terabee SDK for Android Quick Start Setup
V1.1.2
Overview
Terabee SDK provides an easy way to communicate with Terabee sensors on an Android device. The SDK
supports the following sensor models:
TeraRanger Evo 3M
TeraRanger Evo 60M
TeraRanger Evo 64px
TeraRanger Multiflex
The SDK support auto-detecting of type of sensor, that allow connect to any Terabee sensor without exactly
define its type.
Setting up the SDK
The SDK setup consists of a few simple steps outlined below.
1. Open Android Studio and place the SDK file (Terabee_SDK_{VERSION_NUMBER}.aar) to the libraries
folder of your project. Normally it would be:
YouApp/app/libs
2. Add a new dependency to the build.gradle :
dependencies {
...
implementation fileTree(dir: 'libs', include: ['*.aar'])
implementation 'com.github.felHR85:UsbSerial:4.5'
...
}
3. Add the following device_filter.xml file to the resource folder /res/xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<usb-device vendor-id="1155" product-id="22336" />
</resources>
4. Edit your AndroidManifest.xml in the following way:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.terabee.sdkdemo">
<uses-feature
android:name="android.hardware.usb.host"
android:required="false" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"

Summary of content (4 pages)