Skip to content

Commit

Permalink
Merge pull request #835 from Azure/android_support_update
Browse files Browse the repository at this point in the history
Update documentation for Android support
  • Loading branch information
tameraw authored Sep 20, 2016
2 parents d5435b9 + 7402899 commit 7f3d8cc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/get_started/java-devbox-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This document describes how to prepare your development environment to use the *
- [Azure IoT device SDK for Java](#installiot)
- [Build from source](#installiotsource)
- [Include using Maven](#installiotmaven)
- [Build for Android device](#installiotandroid)
- [Application Samples](#samplecode)

<a name="installjava"/>
Expand Down Expand Up @@ -142,6 +143,12 @@ In your main pom.xml file, add the Azure IoT Device SDK as a dependency using yo
<!--This is the current version number as of the writing of this document. Yours may be different.-->
</dependency>
```
<a name="installiotandroid">
## Building for Android Device
- Download and install [Android Studio][android-studio]
- Load and build **sample** located at java\device\samples\android-sample
- Sample has dependence on remote library `iothub-java-device-client`. It is currently set to use `iothub-java-device-client:1.0.7`. If you want to point it to the later version update `java\device\samples\android-sample\app\build.gradle` to point to the version you want to use. For list of available versions search [Maven Repository] [maven-repository]


<a name="samplecode">
## Sample applications
Expand All @@ -150,5 +157,12 @@ This repository contains various .Net sample applications that illustrate how to

To learn how to run a simple *Getting started* Java application that sends messages to an IoT hub, see [Getting started - running a Java sample][lnk-getstarted].

For testing the **Android sample** on Android device follow [certify IoT device running Android] [certify-iot-device-android] documentation

[readme]: ../../java/device/readme.md
[lnk-getstarted]: java-run-sample.md
[android-studio]: https://developer.android.com/studio/index.html
[certify-iot-device-android]:https://github.com/Azure/azure-iot-sdks/blob/master/doc/iotcertification/iot_certification_android_java/iot_certification_android_java.md
[maven-repository]:http://search.maven.org/#search%7Cga%7C1%7Ciothub-java-device-client


0 comments on commit 7f3d8cc

Please sign in to comment.