DORIS Android is an illustrated guide to underwater species in mainland France and overseas that can be taken "almost" anywhere. Based on data from the http://doris.ffessm.fr website, it helps you identify and observe marine and freshwater species, so you can make the most of your underwater dives or walks on the foreshore.
Public web site (in French) about the DORISAndroid application: https://doris-ffessm.github.io
The recommended download is via the Google Play store:
The application is organised in 2 main parts with shared components:
DorisAndroidPrefecthis a java application that is in charge of creating a sqlite database from https://doris.ffessm.fr. This Application is run on a regular basis in the CI/CD.DorisAndroidis the Android application.
Shared components and libs
DorisAndroidCommonsis a java library that is used by bothDorisAndroidPrefecthandDorisAndroid. It mainly contains the accessor part for the data model of the sqlite database and other part common for the java application and the android application.GenandroidLibis a library for the Android application. This is actually a legacy of the original design of the application that was using an EMF based code generator.
Build the data base (ask for authentication)
./gradlew buildDorisDB -Pargs='-u dorisUserID -i'Get a reusable access token (ask for authentication)
./gradlew buildDorisDB -Pargs='-u dorisUserID -i -noFetch'Build the data base with previous AccessToken
./gradlew buildDorisDB -Pargs='-u dorisUserID --token=PREVIOUSACCESSTOKEN'other useful args:
-helpget all suppported args--max=nbFicheslimit the number of "Fiche" that are collected to nbFiches (doesn't limit the collect of authors and glossary in order to allow incremental build of the DB)
Copy a db in DorisAndroid/src/main/assets
cp run/database/DorisAndrois.db DorisAndroid/src/main/assetsCompile the Android app.
./gradlew clean build lintThe project welcomes any contributions: from bug reporting, feature suggestions, comment on the application UI, to bug fix and feature development.
Most changes should be proposed first as an issue for discussion. If you're confident enough in your proposal, you can also directly propose a Pull Request 😉.
-
update version code and version name in
src/main/AndroidManifest.xml -
update changelog in
src/main/res/raw/apropos.html -
make sure the DB is complete in the latest CI pipeline
-
Tag and push to github.
git tag -a 4.9.3-rc1 -m "my very nice version 4.9.3-rc1"
git push origin 4.9.3-rc1The result will be in https://github.com/doris-ffessm/doris-android/releases
- upload apk to https://play.google.com/console as test deployment
- check in test deployment and publish
- promote test as production
