Skip to content

The core library that many of the ODK tools are built around. It's written in Java, implements the ODK XForms spec, and runs on mobile devices and cloud servers. ✨🏗✨

License

Notifications You must be signed in to change notification settings

smap-consulting/javarosa

 
 

Repository files navigation

Smap JavaRosa

This fork of Javarosa has changes to support Field Task

Table of Contents

Setting up your development environment

  1. Install Git if you don't have it

  2. Download and install Android Studio

  3. Fork this project Smap javarosa project

  4. Clone your fork of the project onto your development workstation using git

  5. Import the cloned project into Android Studio

  6. Checkout the production branch

       git checkout production
    

Branches

  • production - The latest production ready code
  • master - The latest unmodifield code from the upstream repository

Building the project

To build the project, go to the View menu in Android Studio, then Tool Windows > Gradle.

Find build in the Gradle window will in javarosa > Tasks > build > build and double-click on it to package the application. This Gradle task will now be the default action in your Run menu. Note some unit tests may fail if you are developing on a windows computer. Add @Ignore to these.

To package a jar, use the jar Gradle task.

The generated Jar file will be in ./build/libs

Changes in this JavaRosa fork

  • Added a default() function that prevents a manually modified default value from being reset on save of the survey

Acknowledgements

This project:

About

The core library that many of the ODK tools are built around. It's written in Java, implements the ODK XForms spec, and runs on mobile devices and cloud servers. ✨🏗✨

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.6%
  • Other 0.4%