Skip to content

orilevari/services

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

services

This project is actively maintained

It is part of the ODK 2.0 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 2.0 tools.

The developer wiki (including release notes) and issues tracker are located under the opendatakit project.

The Google group for software engineering questions is: opendatakit-developers@

Setting up your environment

General instructions for setting up an ODK 2.0 environment can be found at our DevEnv Setup wiki page

Install Android Studio and the SDK.

This project depends on the ODK androidlibrary project; its binaries will be downloaded automatically fom our maven repository during the build phase. If you wish to modify that project yourself, you must clone it into the same parent directory as services. You directory stucture should resemble the following:

    |-- odk

        |-- 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

Packages

No packages published

Languages

  • C 74.0%
  • Java 20.5%
  • Objective-C 4.6%
  • Other 0.9%