Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.16 KB

manual_installation.md

File metadata and controls

30 lines (25 loc) · 1.16 KB

Estimote SDK for android manual installation

Eclipse users: Mark Murphy on his blog explained how to use aar format in Eclipse.

  1. Create libs directory inside your project and copy there estimote-sdk.aar.
  2. In your build.gradle add flatDir entry to your repositories
repositories {
  mavenCentral()
    flatDir {
      dirs 'libs'
    }
}
  1. Add dependency to Estimote SDK. All needed permissions (BLUETOOTH, BLUETOOTH_ADMIN and INTERNET) and services will be merged from SDK's AndroidManifest.xml to your application's AndroidManifest.xml.
dependencies {
  compile(name:'estimote-sdk', ext:'aar')
}
  1. Initialize Estimote SDK in your Application class onCreate() method - if you are using Estimote Cloud:
//  App ID & App Token can be taken from App section of Estimote Cloud.
EstimoteSDK.initialize(applicationContext, appId, appToken);
// Optional, debug logging.
EstimoteSDK.enableDebugLogging(true);