We recommend automating dependency management of integrated SDKs such as ours using Gradle. However, if you can not do this, you have an option of manually adding the SDK to your projects. Following this path will require you to not only manually updating the SDK libraries, but also to integrate required options to the app’s build configuration.

Install the SDK

Download latest distribution package from Bintray .

Unzip the file and copy libs/indooratlas-android-sdk-version.jar into your applications /libs -directory. Also copy all directories from under libs into your applications ´src/main/jniLibs´ -directory. Either include all .jarfiles from your libs directory:

compile fileTree(dir: 'libs', include: ['*.jar'])

Or just selected files:

  flatDir {
    dirs 'libs'
dependencies {
  compile ':indooratlas-android-sdk:3.1.0'

Declare required permissions

Add the following permissions to your project’s AndroidManifest.xml file before the application -element.

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

Declare IndoorAtlas Location Service

Add the IALocationService service to your project’s AndroidManifest.xml file under application -element.

  <service android:name="com.indooratlas.android.sdk.IALocationService"