Gardening Manager development plateform is processed by maven
This short documentation explains how to configure the developer environment with Eclipse, Android ADT and Maven
- git clone https://github.com/artmoni/gardening-manager-android
- Get the Android SDK http://developer.android.com/sdk/index.html
- Configure your Android environment
- git clone https://github.com/artmoni/nuxeo-android.git
- mvn clean install
- Compile gardening manager with Maven
1. export ANDROID_HOME=/path/to/android-sdk/
2. export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
3. android update sdk --no-ui
With android SDK Manager, install those tools:
- Android 4.0.3 API (or later)
- SDK Plateform
- ARM EABI V7
- Google API
- Extras (All)
- Google Repository (for maven local repository)
http://source.android.com/source/initializing.html
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
$ apt-get install lib32z1-dev bison flex lib32ncurses5-dev libx11-dev gperf g++-multilib
Project https://github.com/artmoni/gardening-manager-maven is loaded automatically in pom.xml
$ mvn clean install [--settings settings.xml] [-P env-dev]
$ mvn android:deploy android:run [-Dandroid.sdk.path=/path/to/android-sdk/]
$ mvn --settings settings.xml -Prelease clean install
$ mvn --settings settings.xml -Prelease release:prepare android:manifest-update
$ jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -certs -verify target/gardening-manager-*.apk
Sign with release certificate
$ jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore '$KEYSTORE_DIR/keystore' -storepass 'STORE_PASS' -keypass 'KEY_PASS' $PROJECT_HOME/target/gardening-manager-*.apk artmonimobile
$ zipalign 4 target/gardening-manager-0.14.apk target/gardening-manager-*-signed.apk
#########################
Install ADT: https://dl-ssl.google.com/android/eclipse/
Use android-m2e to mavenize the project and manage dependencies inside your eclipse environment http://blog.xebia.fr/2010/03/23/maven-et-android-comment-utiliser-le-plugin/
Import AppCompat Android project from SDK extras directory File->Import (android-sdk\extras\android\support\v7). Choose "appcompat" Project-> properties->Android. In the section library "Add" and choose "appCompat" That is all!
https://www.versioneye.com/user/projects/51cb703566ec030002008baf
https://www.ohloh.net/p/gardening-manager
http://translate.gardening-manager.com/