Child pages
  • Adding Demo Mode Audio Warning
Skip to end of metadata
Go to start of metadata

 

Purpose

On CommCare for Java Phones, when a user enters demo mode, a warning appears explaining that this is for practice only, not real data.  This text can be confusing for some users, espcially low-literate users.

This feature allows you to add an audio clip to the application.  The audio clip will play when the user enters demo mode.

Note that this is for Java Phones only, not Android.  It is part of the UI translation system, so you can have a different audio clip play for each translation.

Related Documentation

UI translations in CommCare

Multimedia in CommCare

Instructions

1. Obtain the audio message you want to play in any languages that you want.  We recommend using .mp3 files.

2. Enter the translation key demo.warning.filepath in the UI translations section of HQ (see UI translations in CommCare.)

3. For the value, enter the location where you will put the .mp3 file on the phone's sd card.  See Multimedia in CommCare - remember you need to start the filepath with jr://file (which means the SD card) and end it with the name of the file .mp3.

4. When you install the application, place your audio file on the phone's SD card in the exact location you defined in step #3

  • No labels