Skip to content
forked from odk-x/services

An application for handling database access, file access, and data synchronization services between all the ODK-X applications. It allows you to synchronize data collected by the ODK-X Android tools with a cloud endpoint.

License

Notifications You must be signed in to change notification settings

niyolynate/services

 
 

Repository files navigation

Services

This project is actively maintained

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

Prior to rev 200, this repo was the core repo.

It is an APK that provides services (database, content providers, local webserver) used by all the other ODK-X tools.

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-X's androidlibrary and androidcommon projects; their binaries will be downloaded automatically from our maven repository during the build phase. If you wish to modify them yourself, you must clone them into the same parent directory as survey. You directory stucture should resemble the following:

    |-- odk-x

        |-- services

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

Now you should be ready to build.

Building the project

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

Running

If the project builds properly, it should be able to run on an Android device without any other prerequisites.

Source tree information

Quick description of the content in the root folder:

|-- services_app     -- Source tree for Java components

    |-- src

        |-- main

            |-- res     -- Source tree for Android resources

            |-- java

                |-- org

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

        |-- androidTest     -- Source tree for Android implementation tests
        |-- test            -- Source tree for Java JUnit tests

How to contribute

If you’re new to ODK-X you can check out the documentation:

Once you’re up and running, you can choose an issue to start working on from here: 

Issues tagged as good first issue should be a good place to start.

Pull requests are welcome, though please submit them against the development branch. We prefer verbose descriptions of the change you are submitting. If you are fixing a bug please provide steps to reproduce it or a link to a an issue that provides that information. If you are submitting a new feature please provide a description of the need or a link to a forum discussion about it.

Links for users

This document is aimed at helping developers and technical contributors. For information on how to get started as a user of ODK-X, see our online documentation, or to learn more about the Open Data Kit project, visit https://odk-x.org.

About

An application for handling database access, file access, and data synchronization services between all the ODK-X applications. It allows you to synchronize data collected by the ODK-X Android tools with a cloud endpoint.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 71.8%
  • Java 27.3%
  • Other 0.9%