Skip to content

Android library which makes it easy to save and display data with FieldDB databases

Notifications You must be signed in to change notification settings

FieldDB/AndroidFieldDB

Repository files navigation

Build Status

AndroidFieldDB

An Android app which lets the user build a custom visual and auditory vocabulary, useful for guided anomia treatment and self designed language lessons by heritage speakers.

Plugs into FieldDB databases to create language learning apps.

Video shows how heritage speakers can use field methods techniques and a Learn X app to practice with their friends and family.

Install

You can see what this codebase is for by installing this app (which was customized for Kartuli/Georgian heritage speakers). https://play.google.com/store/apps/details?id=com.github.opensourcefieldlinguistics.fielddb.lessons.georgian

Tablet uses fragments side by side: learn_x_tablet

Phone uses list: learn_x_phone_list

And a separate detail screen (here with speech recognition showing) learn_x_phone_speech_recognition

Android Library

As an Android developer, you can reuse this library in your app.

Install

You can manually download the .aar and include it in your project from this url: https://bintray.com/fielddb/maven/com.github.fielddb

To install it in your project via maven, add the maven repository to your Android build.gradle:

repositories {
    maven {
        url  "https://dl.bintray.com/fielddb/maven"
    }
}

Development

Copy and optionally modify the sample private constants to customize the library:

$ sed 's/PrivateConstantsSample/PrivateConstants/' fielddb/src/main/java/com/github/fielddb/PrivateConstantsSample.java >  fielddb/src/main/java/com/github/fielddb/PrivateConstants.java

Tests

Copy the sample data to the device:

$ cd sample-data
$ adb push * /sdcard/

To run all the tests

./gradlew fielddb:connectedDebugAndroidTest

To run the tests click on the > next to the method you want to test.

Release

To publish a new release of this library, edit the version in fielddb/build.gradle' and set the ENV variables for BINTRAY_USERandBINTRAY_API_KEY`

./gradlew tasks
./gradlew install
./gradlew clean
./gradlew build
./gradlew assembleRelease
ls -alt fielddb/build/outputs/aar/
./gradlew generateSourcesJar
./gradlew generateJavadocs
./gradlew generateJavadocsJar
./gradlew bintrayUpload

About

Android library which makes it easy to save and display data with FieldDB databases

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages