Popular Help Content
This page is primarily useful for programs using older versions of CommCare. A page directed at the newer user interface is under development.
This page provides an overview of how to navigate using CommCare Android, describes different types of settings you can consider, and presents question types that are only available on CommCare ODK (not in J2ME).
This guide assumes that you have already installed CommCare ODK or are going to be building an application for CommCareODKCommCare. The screenshots on this page are from CommCareODK CommCare 2.8.1. You may be interested in the below information about CommCareODK CommCare (for Android) as well:
- Android Phone Setup - Installing CommCare on an Android Device, including GPRS settings, CommCare installation steps and usability settings on the deviceInstalling CommCareODK
- Install CommCare for Android Smartphones - Installation steps for CommCareODKCommCare, with visuals
- CommCareODK Home CommCare Home Screen Shortcuts - Helpful settings for users
- CommCareODK CommCare Form Management Features - Understand the different CommCare ODK features to help manage forms on the device
One major decision in how to configure CommCare ODK is CommCare is Sense Mode. Sense Mode, when turned on, disables advanced features that may be confusing to new users, especially form management. Below, those features which are disabled in Sense Mode are indicated. More detail can be found on the page about CommCare for low-literate users.
|Table of Contents|
Getting to Know CommCare for Android Smartphones
There are some tricks to effectively navigating in CommCareODKCommCare, and some features that are not easy to find. Below are some of the key features you may find useful.
CommCare for Android is sometimes referred to as CommCareODK. ODK stands for Open Data Kit, an open-source project for mobile data collection using the XForm standard. CommCare for Android is closely integrated with ODK. If you have used ODK in other projects, CommCareODK will look very familiar to you. Here in the CommCare Help Site, CommCareODK, CommCare for Android, and CommCare for Smartphones, all refer to the same thing!
Your Android Device
There may be a number of buttons on your Android device, but as pictured below there are three buttons that are important for using CommCare.
- Menu Key: The Menu key usually looks as pictured above, but may also look like three dots stacked vertically. This button is used to access settings and menus.
- Home Key: This button will bring you back to the phone's home screen.
- Back Key: Is used to return to the previous screen.
Navigating in CommCare for Android Smartphones
You can log into CommCare for Android as a Mobile User or as a Demo User.
Logging in as a Mobile User
After clicking on the CommCare icon, you will reach the log-in screen. Here you will need to enter a username and password (see left image). Note that unlike J2ME CommCare, there is no "admin" login.
- The first time you "Log In" you must have internet connectivity. After pressing “Log In” for the first time, there will be a few moments during which CommCare makes sure that the information on your phone is up-to-date with the server (see right image)
- After you log in the first time, even if you log out and then log back in (with the same username) you do NOT need internet connectivity.
- The username of the last user to log in will remain in the “username” box, even after logging out.
Logging in as a Demo User
There is a demo mode- to enter demo mode you only need to push the phone's menu button while at the log-in screen. As shown in the left image, there is a small button at the bottom of the screen to log in as a demo user. After selecting it you will see a warning message.
The Home Screen
The main screen (“home screen”) of CommCare ODK has several important features clearly visible (note the above shows CommCareODK CommCare with form management active on the left, and with Sense Mode on the right):
You can translate many parts of the home screen into most languages. See our page on user-interface translations to learn more.
Home Screen Settings
LEFT: If you click on the menu button on your phone (often looks like a box with lines, or three dots) you will access the home page settings menu:
- Settings allows you to access some advanced tools (see next slide)
- Update CommCare tells the device to check CommCareHQ to see if there is a more recent starred build. If there is, CommCare will update (connectivity required) and you will need to log-in again.
- Call Log shows a record of all calls/messages that originated from CommCare ODK.
- Clear User Data: if you choose this, it will delete all of the current users’ data and bring you back to the log-in screen.
- About CommCare provides some legal info about CommCareODKCommCare
- Force Log Submission forces CommCareODK to CommCare to submit technical metadata to the server. This can be useful to the software team when troubleshooting problems. A CommCare team member could request you to do this if there is a recurring bug in the software.
Within the "saved" forms button you can find a list of all forms that were submitted since the last time the application data was cleared. You can further filter this list by submitted forms, unsent forms, or incomplete forms. After you "save a form as complete" it is tagged as "unsent" until CommCare confirms that the form has reached the CommCareHQ server, at which time the tag is removed. In the right image you can see a number next to "Incomplete" which indicates the number of incomplete forms.
Navigation Within Forms
When you open a form you will get the landing screen (left) that shows users how to navigate within a form by swiping the page. When you try to skip a required question, or enter a value that is outside of the permitted range, a message will alert you that you must correct your answer. If you press the options button/soft key, you will see four advanced options displayed at the bottom of the screen:
- Save Form
- Go To Prompt
- Change Language
- Change Settings
Advanced Menu Options
- Pressing “Save Form” (left) will store the form as incomplete in its current state. You will be able to access this incomplete form from the home screen
- Go To Prompt calls up a list of all the questions/labels in the form. If you have already entered values they will be displayed below the question text.
- You can scroll up and down to review your answers, and is the preferred way to quickly review a form prior to submitting.
- You can click on any question in order to go directly to it and update/enter a value
- Go To Start brings you to the first page of the form, and Go To End brings you to the last page where you can submit the form
- Go Up is only applicable in repeats.
- Change Language allows you to toggle between the display text languages.
- Choosing Settings presents several additional options:
Settings includes the following options:
- Link to the Open Data Kit website (ODK)
- Text Font Size for changing the size of the display text. You only have to do this once in an app and all forms will default to the text size you have chosen
- Default to Finalized should be left as is because it determines whether a form is automatically saved as finalized when clicking "save" at the end of the form
- Display Progress Bar determines whether this is a progress bar shown while filling out the form (see next section)
- Display Intro Help Screen determines whether or not the first screen in the form explains how to navigate by swiping. I can also be configured directly on that screen of the form.
- Show Splash Screen currently has no effect on anything
By default, starting in CommCareODK 2CommCare 2.14, there is a blue progress bar across the screen that indicates the portion of the form that is complete. It dynamically updates based upon changes in display logic.
Starting with CommCareODK CommCare 2.15 you can disable the progress bar. You may want to disable the bar in forms that are very large or complex as it can cause performance issues.
To disable the progress bar open the desired form and open the Form Settings from the menu. Uncheck the box (see images above). You only need to make this change one time per form and then the progress bar setting will be the same next time you open the form.
Exiting a Form
- Save Changes: stores a version of the form as incomplete. This can later be opened and updated
- Ignore Changes: deletes any changes you made/data you entered and brings you back to the home screen
- Cancel: brings you back to the form you were working on
Common Question Types
This section goes through some common question types to show how they will appear on the phone.
Labels are used to display messages. In CommCare for Android there is an option to also have a standard message and checkbox displayed on the screen. By default, the message reads "OK. Please continue." If you set the label to "required" then the user will have to check the box next to the message before continuing to the next screen. The message can be changed or translated through the User Interface Translations.
Text or Numeric Input
Text questions will appear with an alphabetic keyboard by default, while all numeric questions will display a number pad.
Single select questions are fairly easy- you simply select the desired option and the circle will show as filled. If you hold you finger continuously on an option you will get a pop-up screen that says "Edit Prompt: Remove Response." If, for example, you accidentally answered a question that you wanted to leave blank, you can remove your choice through the "remove response" tool. It is also common for users to "accidentally" get the remove response message by holding their finger too long when selecting an option.
In Multiple Choice questions you can select more than one option, which is usually indicated by square boxes. You can create useful constraint messages as well.
Date and Time Questions
You can ask for a date, time, or a combination of date and time. You can use the up/down arrows to adjust the values. Time values are always shown in a 24 hour clock.
Special Question Types
Media Capture (Image, Audio, Video)
CommCare for Android can be used to take capture or upload images, audio, or video to a form.
When you get to a screen with a media capture question you will have the option of either capturing the data in real time (i.e. opening a camera app to take a picture) or choosing a file from you phone (i.e. navigating to a folder on your device to find a specific file).
The Signature Catpure question type can be used to capture a client's signature and send it to the CommCareHQ server. It can then be accessed as an image file in the form submission report from the attachments tab. Clicking on Gather Signature will open a screen where you can write a signature with your finger or a stylus. Then choose Save and Close to capture the signature. You can replace it by clicking on Gather Signature again.
When you reach a GPS question, the user will be presented with a "Record Location" button. Upon selecting the button, a loading screen will indicate the accuracy of the GPS coordinates. A spinning circle icon will be displayed while the devices searches for the location, and is replaced by a green check mark when the location is locked in. When accuracy gets to 5 m the coordinates will automatically be captured and displayed on the screen. If you do not need such high accuracy, you can record the location earlier. Once the location is displayed in your form, you simply swipe to go on to the next screen. Selecting "Record Location" again will re-initiate the GPS capture process and can overwrite the first set of coordinates.
The first time you try to do a GPS capture in a new location it can take a long time to find the location, sometimes as much as 10 minutes. Subsequent captures will likely be much faster.
The barcode question will call out to a barcode scanner application to capture data stored in an external barcode.
Android App Call Out
Case List and Details
In CCODK case CommCare case list view it is important not to put too much text or data in the case list as this will make it very difficult to navigate through the case list. Below you can see examples of a case list (left) and case details (right). Click here for more information on case lists.
Special Formatting and Tools
This section describes formatting and question types that are specific to CommCare for Android
Using Multimedia (Images, Audio) in Your
For instructions on how to use and install multimedia in CommCare click here. When you add an audio or video file you can play it by selecting the button in the upper right-hand corner. Clicking on the button will start playing the file, and you can press it again to pause the playback.
Generating a QR code in your form
In the place of an image, a question can be configured to display a QR code which contains text that is dynamically set in the form.
This feature is only available in CommCareODK 2CommCare 2.8 or higher.
In CommCareODK you CommCare you can use "hint text" which will appear in a smaller font underneath your display text. To add hint text in the app builder, open the "Advanced Properties" tab and put your text in the "hint" field.
You can group questions on one screen by putting all of the relevant questions in a "Question List" group. This group type is available in the Form Builder under the Group set of question types. Note that you cannot run a calculation within a screen (i.e. you cannot have the outcome of a question at the top of a screen affect the display condition of one on the bottom of the same screen).
Frequently Asked Questions
Q: Can you group questions horizontally to improve display on a tablet?
A: No, you cannot have more than one app on Android devices. This is on the CommCare development plan but there is no time estimate at present.
Q: When using the signature question type I notice that a copy of the signature is saved to the phone's gallery. Is there any way to prevent this or to encrypt the image?
A: Unfortunately neither of these is possible within CommCare at the moment. You can tell Android that you don't want media in a certain folder being indexed by adding a file called .nomedia to that folder (read more here). However, you'd have to do this yourself - enter CommCare's domained folder on the SD card and add this file either via USB or an Android text editor app. Its also worth noting that this is basically a voluntary opt out that "well behaved" applications will respect, but are not forced to.