diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2015-01-12 23:36:47 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2015-01-12 23:36:47 -0800 |
commit | fd732714f7761114f44ed3bdcb50748afa7e02cc (patch) | |
tree | f03586b24e776ef9ad8bab4fdfd5cb566b9d132c /build-android | |
parent | 7e08733589a278454bd0c16096a68f9eaa1a626b (diff) |
Updated build instructions
Diffstat (limited to 'build-android')
-rw-r--r-- | build-android/README.md | 17 |
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. |