jdeolive / geodroid

Android library for building spatial apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeoDroid

An Android library for building spatial applications.

Setting up the Android SDK

Building the library requires the Android SDK.

After installing the SDK some additional packages must be installed through the Android SDK Manager. Run the android command to start the SDK manager and install the following packages.

  • Android SDK Tools
  • Android SDK SDK Platform-tools
  • Android SDK Build-tools

And finally install the appropriate API package. Currently GeoDroid is built against "Android 4.0.3 (API 15)".

Building

Building the library from sources requires Apache Maven.

Once the Android SDK is set up and Maven is installed run the following command in the root of the project.

android update project -p .

And finally run Maven to build the library.

mvn install

Note: On OSX an error may occur during Maven execution that looks like:

[ERROR] com.sun.tools.javac.Main is not on the classpath.
[ERROR] Perhaps JAVA_HOME does not point to the JDK.

In that case try executing Maven with the tools.jar profile.

mvn -P tools.jar install

About

Android library for building spatial apps


Languages

Language:Makefile 51.9%Language:Java 48.1%