Skip to content

Latest commit

 

History

History
69 lines (35 loc) · 2.9 KB

README.md

File metadata and controls

69 lines (35 loc) · 2.9 KB

Tables

This project is actively maintained

It is part of the ODK-X Android tools suite.

ODK-X Tables is a program that allows you to visualize and edit data, revisiting existing data and syncing it with an ODK-X Aggregate instance in the cloud.

Instructions on how to use Tables can be found here.

The developer wiki (including release notes) and issues tracker are located under the ODK-X Tool Suite project.

Engage with the community and get technical support on the ODK-X forum

Setting up your environment

General instructions for setting up an ODK-X environment can be found at our Developer Environment Setup wiki page.

Install Android Studio and the SDK.

This project depends on ODK's androidlibrary and androidcommon projects; their binaries will be downloaded automatically fom our maven repository during the build phase. If you wish to modify them yourself, you must clone them into the same parent directory as tables. You directory stucture should resemble the following:

    |-- odk-x

        |-- androidcommon

        |-- androidlibrary

        |-- tables
  • Note that this only applies if you are modifying the library projects. If you use the maven dependencies (the default option), the projects will not show up in your directory.

ODK-X Service MUST be installed on your device, whether by installing the APK or by cloning the project and deploying it. ODK-X Survey also integrates well with ODK-X Tables, but is not required.

Now you should be ready to build.

Building the project

Open the Tables project in Android Studio. Select Build->Make Project to build the app.

Running

Be sure to install ODK-X Services onto your device before attempting to run Tables.

Running tests

When running tests from Android Studio, execute adb shell pm grant org.opendatakit.tables android.permission.SET_ANIMATION_SCALE in the terminal first.

Source tree information

Quick description of the content in the root folder:

|-- tables_app     -- Source tree for Java components

    |-- src

        |-- main

            |-- res     -- Source tree for Android resources

            |-- java

                |-- org

                    |-- opendatakit

                        |-- tables     -- The most relevant Java code lives here

        |-- androidTest    -- Source tree for Android implementation tests