Skip to content

RapidReg is an Android-based mobile application that lets aid workers collect, sort and share information about children in emergency situations.

Notifications You must be signed in to change notification settings

primeroIMS/rapidreg

Repository files navigation

Logo

RapidReg

RapidReg is an Android-based mobile application that lets aid workers collect, sort and share information about children in emergency situations.

RapidReg is specifically designed to streamline and speed up Family Tracing and Reunification efforts both in the immediate aftermath of a crisis and during ongoing recovery efforts.

RapidReg allows for quick input of essential data about a child on a mobile phone, including a photograph, the child's age, family, health status and location information. Data is saved automatically and uploaded to a central database whenever network access becomes available. Registered aid workers will be able to create and modify entries for children in their care as well as search all existing records in order to help distressed parents find information about their missing children. Because RapidFTR is designed specifically to collect and distribute information about children, data security is extremely important.

Signing apk in release mode

Currently the keystore is located under the root directory, it's protected by the password. All you need to do is give correct values to storePassword, keyAlias, keyPassword in build.gradle or config the values above as the environment variables in your CI.

Note: Never commit the real password into the codebase.

Setting up the CI environment

The project runs in docker virtual environment for every build. The dockerfile includes all necessary libraries and Android SDK but source code. You need to mount source code into the docker container.

Here is a Jenkins sample:

docker rm -f $JOB_NAME || echo `no container to delete`
docker build -t primero/$JOB_NAME .
docker run --name $JOB_NAME \
-v "$WORKSPACE:/opt/project" \
-e "STORE_PASSWORD=$STORE_PASSWORD" \
-e "KEY_PASSWORD=$KEY_PASSWORD" \
-e "KEY_ALIAS=$KEY_ALIAS" \

String translation

Android load strings from res/values/strings.xml by default.

  • Create alternative resources: Refer to https://developer.android.com/reference/java/util/Locale.html to get UNICODE_LOCALE_EXTENSION. For example: create resource for Chinese - res/values-zh/strings.xml
  • Testing on an emulator: Change the locale from the adb shell adb shell If you have a device attached, run adb -e shell At the adb shell prompt(#), run this command: setprop persist.sys.locale [BCP-47 language tag];stop;sleep 5;start For instance, to test in China: setprop persist.sys.locale zh_CN;stop;sleep 5;start This will cause the emulator to restart. Once the Home screen appears again, re-launch your application, and the application launches with the new locale.
  • Reset default locale in device Settings.

About

RapidReg is an Android-based mobile application that lets aid workers collect, sort and share information about children in emergency situations.

Resources

Stars

Watchers

Forks

Packages

No packages published