From fd732714f7761114f44ed3bdcb50748afa7e02cc Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Mon, 12 Jan 2015 23:36:47 -0800 Subject: Updated build instructions --- build-android/README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'build-android') 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. -- cgit v1.2.3