An open API service indexing awesome lists of open source software.

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

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.