diff --git a/README.md b/README.md index 582f0faf..e467fa10 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,11 @@ VTM is part of the OpenScienceMap project and developed at University of Bremen. - **vtm-android-example** provides examples using **vtm-android** - **vtm-android-app** opensciencemap app using **vtm-android** - **vtm-gdx** common libgdx backend code -- **vtm-gdx-desktop** Desktop application -- **vtm-gdx-html** HTML5/GWT application -- **vtm-gdx-android** Android application -- **vtm-gdx-ios** iOS application +- **vtm-android-gdx** Android application +- **vtm-desktop** Desktop application +- **vtm-web** HTML5/GWT backend +- **vtm-web-app** HTML5/GWT application +- **vtm-ios** iOS application ## Getting started @@ -40,11 +41,7 @@ The commands below should set things up correctly when Android SDK is already installed. ``` export ANDROID_HOME=/path/to/your/android-sdk -export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools -echo yes | android update sdk --filter platform-tools --no-ui -echo yes | android update sdk --filter android-19 --no-ui -echo yes | android update sdk --filter extra-android-support --no-ui -echo yes | android update sdk --filter extra-android-m2repository --no-ui +./android-stuff.sh ``` ### Eclipse @@ -56,7 +53,7 @@ Import all 'vtm' sub-projects into Eclipse. Just import build.gradle ### Gradle -Or run gradle tasks directly (see also `./gradlew -q tasks`):
+You can run gradle tasks directly (see also `./gradlew -q tasks`):
`./gradlew clean install`
to build the libraries and add them to the local maven repository.
`./gradlew :vtm-android-example:run`
to run the android example
`./gradlew :vtm-gdx-desktop:run`
to run the desktop demo (only Linux64 and Win64 native libs are provided atm)
diff --git a/android-stuff.sh b/android-stuff.sh new file mode 100755 index 00000000..80aac860 --- /dev/null +++ b/android-stuff.sh @@ -0,0 +1,6 @@ +#!/bin/bash +export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools +echo yes | android update sdk --filter platform-tools --no-ui +echo yes | android update sdk --filter android-19 --no-ui +echo yes | android update sdk --filter extra-android-support --no-ui +echo yes | android update sdk --filter extra-android-m2repository --no-ui