Android SDK
About the Medable Android SDK
The Android SDK for Medable provides a wrapper for the Medable API as well as several helper tools to directly integrate those features to your Android application.
The Medable Android SDK is targeted to be used in apps that have a minSdkVersion at 14 and the following instructions are targeted for Android Studio users, consider updating if you have an older version.
Integration steps
Gradle repo and dependencies
Add the following repository.
defaultConfig {
...
repositories {
maven { url "https://github.com/Medable/Android-SDK/raw/master/" }
}
}
Add the following dependency.
dependencies {
compile 'com.medable:AndroidSDK:1.0.+' // or use the last release version number instead.
}
Synch Gradle, and you're set!
Manifest & permissions
Here are the permissions present in the SDK's manifest file:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="com.medable.AndroidSDK.permission.C2D_MESSAGE"/>
Updated 4 months ago