# nunaliit_android
Android application for Nunaliit


Before creating Android app, one must first create the cordova library and install it:
- cd ...
- cp local.properties cordova-android/framework/.
- cd cordova-android/framework
- ant
- cp cordova-5.1.1.jar ../../app/libs/.



# nunaliit_android

Android application for Nunaliit

## After cloning: Build nunaliit2

1. The nunaliit2 project is referenced as a git submodule and needs to be cloned separately after cloning the Android project repo:

    git submodule init && git submodule update

2. Then the nunaliit2-js and nunaliit2-js-external components need to be built (requires maven):

    (cd nunaliit2/nunaliit2-js && mvn package)
    (cd nunaliit2/nunaliit2-js-external && mvn package)

After doing the above steps you should have the entrypoint script used by the Android app's webview, nunaliit2-debug.js, and be able to build & run it.

If you skip the above steps, the app will run but the webview will fail to load the nunaliit2 interface.

Update readme: Document how to build the js required before you can run the Android app.
Update readme: Document how to build the js required before you can run the Android app.
