Awesome
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.
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:
Phone uses list:
And a separate detail screen (here with speech recognition showing)
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_USERand
BINTRAY_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