https://github.com/dhis2/dhis2-sms-android-gateway
Android DHIS 2 gateway app for testing the SMS functionality
https://github.com/dhis2/dhis2-sms-android-gateway
Last synced: 12 months ago
JSON representation
Android DHIS 2 gateway app for testing the SMS functionality
- Host: GitHub
- URL: https://github.com/dhis2/dhis2-sms-android-gateway
- Owner: dhis2
- Created: 2019-10-28T18:00:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-09T13:58:56.000Z (over 5 years ago)
- Last Synced: 2024-11-08T18:32:48.413Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 1.19 MB
- Stars: 2
- Watchers: 34
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DHIS2-SMS-Android-Gateway
=========================
This repository contains the android gateway app for testing the SMS sync functionality of the tracker capture app.
**How to use it**
Ideally you want to test it with 2 android phones that have SIM cards :
- Install the DHIS 2 Android capture app in one android device.
- Configure the SMS settings (gateway and enable submission)
- Install, compile and run the DHIS 2 Android gateway app in another device
- Make sure that you are accepting SMS permissions for this app
- Configure the user, password and dhis2 server URL (2.33 V) for ex: http://android2.dhis2.org:8080/
- Be aware that this app adds "api/sms/inbound" to your URL
- Click on ***Save*** button and make sure that the button above this one contains the text ***Forward messages***
- From the android capture app sync with SMS
- Check that an alert shows up in the gateway app telling you that the message was delivered to the dhis2 server.
- Go to dhis2 server mobile app > received SMS and verify the SMS is received with “PROCESSED” state. Then the information you modified in the app should be reflected in the server.
**Important:** If you send long SMSs (more than 160 chars) this app does not re-assemble the different parts.