From b2dcc657c933cfdd66bf5038f1308230e73d05a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Thu, 3 Jan 2013 13:09:45 +0100 Subject: [PATCH] update readme --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b0af955f5..ece1ebe14 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,20 @@ Fork APG and do a merge request. I will merge your changes back into the main pr ## Build with Ant -1. Add a file called ``local.properties`` in APG folder with the following lines, altered to your locations of the SDK: ``sdk.dir=/opt/android-sdk`` -2. execute ``ant release`` +1. Have Android SDK "tools" directory in your PATH (http://developer.android.com/sdk/index.html) +2. Change to "APG" directory with ``cd APG`` +3. Execute ``android update project -p .`` and ``android update project -p android-libs/ActionBarSherlock`` +4. Execute ``ant debug`` ## Build with Eclipse -1. File -> Import -> Android -> Existing Android Code Into Workspace, choose ``APG/android-libs/ActionBarSherlock`` -2. File -> Import -> Android -> Existing Android Code Into Workspace, choose ``APG`` +1. File -> Import -> Android -> Existing Android Code Into Workspace, choose "APG/android-libs/ActionBarSherlock" +2. File -> Import -> Android -> Existing Android Code Into Workspace, choose "APG" 3. APG can now be build # Libraries -The Libraries are provided in the git repository. +All JAR-Libraries are provided in this repository under "libs", all Android Library projects are under "android-libs". * ActionBarSherlock to provide an ActionBar for Android < 3.0 * Spongy Castle Crypto Lib (Android version of Bouncy Castle) @@ -33,10 +35,10 @@ The Libraries are provided in the git repository. ## Build Barcode Scanner Integration 1. Checkout their SVN (see http://code.google.com/p/zxing/source/checkout) -2. Change android-home variable in ``build.properties`` in the main directory to point to your Android SDK +2. Change android-home variable in "build.properties" in the main directory to point to your Android SDK 3. Change directory to android-integration 4. Build using ``ant build`` -5. We use ``android-integration-supportv4.jar`` +5. We use "android-integration-supportv4.jar" On error see: http://code.google.com/p/zxing/issues/detail?id=1207