Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.JamesWhitfield:azure-mobile-apps-android-client:'
}
dependencies {
implementation("com.github.JamesWhitfield:azure-mobile-apps-android-client:")
}
<dependency>
<groupId>com.github.JamesWhitfield</groupId>
<artifactId>azure-mobile-apps-android-client</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.JamesWhitfield" % "azure-mobile-apps-android-client" % ""
:dependencies [[com.github.JamesWhitfield/azure-mobile-apps-android-client ""]]
With Microsoft Azure Mobile Apps you can add a scalable backend to your connected client applications in minutes. To learn more, visit our Developer Center.
If you are new to Mobile Services, you can get started by following our tutorials for connecting your Mobile Services cloud backend to Android apps.
There are two major versions of this SDK:
Please ensure you are using the right SDK version that matches your backend cloud service.
To get the source code of our SDKs and samples via git just type:
git clone https://github.com/Azure/azure-mobile-apps-android-client.git
cd ./azure-mobile-apps-android-client/
Microsoft Azure Mobile Services can be used with an Android-based device using our Android SDK. You can get the Android SDK in one of the following two ways or you can download the source code using the instructions above.
compile 'com.microsoft.azure:azure-mobile-android:{version}'
to the app’s Gradle.build file with your desired SDK version plugged in (you can find the latest versions here):The SDK requires Android Studio.
\azure-mobile-apps-android-client\sdk
using the option Open an existing Android Studio Project
in Android Studio.sdk
folder and select Make Module 'sdk'
.sdk-release.aar
should be present at \azure-mobile-apps-android-client\sdk\src\sdk\build\outputs\aar
.sdk-release.aar
to sdk-release.zip
.classes.jar
should be present in the root folder.The SDK has a suite of unit tests that you can easily run.
\azure-mobile-apps-android-client\sdk
using the option Open an existing Android Studio Project
in Android Studio.sdk
folder and select Make Module 'sdk.testapp'
.sdk.testapp
and sub folder java
.com.microsoft.windowsazure.mobileservices.sdk.testapp
, Select Run
, Select Tests in com.microsoft.windowsazure.mobileservices.sdk.testapp
(with Android tests icon).This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.
If you encounter any bugs with the library please file an issue in the Issues section of the project.