aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build-android/README.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/build-android/README.md b/build-android/README.md
index 03d415b1..25932637 100644
--- a/build-android/README.md
+++ b/build-android/README.md
@@ -1,6 +1,11 @@
-## Build instruction for Android ##
+### Binary ###
+
+Download the latest [build for Android](http://d.etpan.org/mailcore2-deps/mailcore2-android/)
+
+### Build for Android ###
```
+$ export ANDROID_SDK=/path/to/android-sdk
$ export ANDROID_NDK=/path/to/android-ndk
$ cd build-android
$ ./build.sh
@@ -8,4 +13,12 @@ $ ./build.sh
It will produce the following binaries:
-- mailcore2-android-*version*.zip
+- mailcore2-android-*version*.aar
+
+### Running example ###
+
+Copy the binary result of the build (ailcore2-android-*version*.aar) to `mailcore2/example/android/AndroidExample/app/libs`.
+
+- Open the example in Android Studio
+- Tweaks the login and password in the class `MessagesSyncManager`
+- Then, run it.