Dolphin MOVE SDK
2.x
2.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
        • Access Control
        • Configuration
        • Timeline
        • Points of Interest
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
        • Troubleshooting
      • React Native
      • Flutter
      • Move SDK CLI
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Setup
        • Services
      • React Native
        • Components
        • Initialization
        • Services
      • Flutter
        • Initialization
        • Services
    • Models
      • Listeners/Callbacks
      • MoveAssistanceCallStatus
      • MoveAuth
      • MoveAuthError
      • MoveAuthResult
      • MoveAuthState
      • MoveConfig
      • MoveConfigurationError
      • MoveDevice
      • MoveDeviceStatus
      • MoveGeocodeError
      • MoveHealthItem
      • MoveHealthScore
      • MoveOptions
        • DeviceDiscovery
      • MoveSdkState
      • MoveSdkAndroidConfig
      • MoveTripState
      • MoveScanResult
      • MoveServiceFailure
      • MoveServiceWarning
      • MoveShutdownResult
    • Appendix
      • Token refresh
      • Android
        • Permission Handling
          • Permission Overview
          • Runtime Permissions
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
      • React Native
        • Permission Handling
  • MOVE Backend
    • MOVE Backend
      • MOVE Admin API
      • MOVE TIMELINE API
      • MOVE State API
      • MOVE Last Location API
    • MOVE Generic Notifier
    • MOVE Assistance Notifier
    • Example requests
  • FAQ
  • Changelog
    • Android
    • iOS
    • React
    • Flutter
    • Backend
  • Data privacy (GDPR)
Powered by GitBook
On this page
  • Adding the MOVE SDK to your app
  • Include from Artifactory
  • Include SDK binary directly
  1. MOVE SDK
  2. Getting Started
  3. Android

Installation

Getting Started / Android

PreviousAndroidNextQuick Start

Last updated 11 months ago

Adding the MOVE SDK to your app

There are two possible ways to integrate the MOVE SDK:

  1. Include from an Artifactory

  2. Include binaries directly into your app

Include from Artifactory

Include the maven repository to your gradle build script where the MOVE SDK package is located.

maven { 
    url "https://dolphin.jfrog.io/artifactory/move-sdk-libs-release" 
}

Add the dependency for the MOVE SDK Android library to your module (app-level) Gradle file (usually app/build.gradle).

You can check for latest releases here:

// Include the latest version number of our artifactory e.g. 2...
implementation "io.dolphin.move:move-sdk:w.x.y.zzz"

Include SDK binary directly

The SDK may be shipped as an AAR library directly. Place the library in a "libs" folder of your application module. If there is no libs folder, you must create it first.

Once the library is placed in the correct folder, the app build file needs to be adapted as shown below. After a Gradle sync, the MOVE SDK should be ready to use.

app build.gradle
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
    ...
}

You may also include the binaries directly into your own Artifactory. Then you are able to use the Artifactory solution from above.

More information about AAR libraries can be found here:

https://dolphin.jfrog.io/ui/native/move-sdk-libs-release/io/dolphin/move/move-sdk
https://developer.android.com/studio/projects/android-library