Git Product home page Git Product logo

rapidreg's Introduction

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.

rapidreg's People

Contributors

fungbo avatar lemon123456 avatar shane51 avatar young-chen avatar yuanshenjian avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.