There are two components of CommCare installation:
- Installing CommCare from the Google Play Store
- Installing the specific CommCare application from your CommCare HQ (CCHQ) project space
You must complete both parts of the installation process to use your application.
Step 1: Getting Ready for Installation
To Install CommCare you will need:
- A strong mobile data network or Wi-Fi connection
- An Android device with Android OS 4.1 (Ice Cream Sandwich) or higher
- A file manager application like the Amaze File Explorer (if you have multimedia)
- If you would like your users to type in a language not supported by the phone you need to download the software for it, if available. For example, for applications deployed in Hindi, you should download the 'Google Indic Keyboard' from the Google Play Store so your users are able to type in Hindi.
Phone Configuration
For more information on setting up your Android device(s) for deployment please visit Android Phone Setup.
Step 2: Installing CommCare
- Open the Google Play Store (the Android App Store) on your device
- Search for CommCare
- Install CommCare - make sure that automatic updates are enabled for your device
Step 3: Installing Your CommCare Application
- Go to the Applications tab of CommCare HQ and select the application you want to deploy.
- When you select an application, you are brought directly to the releases page. If you would like to head to the app settings page, it is accessible via the gear icon in the app manager menu next to the app name.
- If needed, click "make new version" to create a new version of your application.
- Find the version you want to release and click the "Publish" button next to that version
From here you have two options: online install or offline install. Online install requires a reliable internet connection for the phone, while offline install does not require internet once the file (ccz) has been downloaded from CommCare HQ. Note that an Internet connection is required to log into the mobile app for the first time, regardless of the installation method. Please follow the instructions below for your preferred installation method. If you have decent connectivity we recommend you start with online install.
USB Mounting
Certain versions of Android OS will not have USB Mounting capability turned on by default. Turning on USB capability in the middle of a CommCare download will interrupt the download.
Online Install
Offline Install
Option A: Online Installation (including Multimedia)
See instructions and more info about multimedia here. See this handout for guidance on installation and use of multimedia on CommCare.
Online install sends the application to your phone over a wireless data connection (Wi-Fi or mobile data network).
If your application has multimedia, leave "Include Multimedia" checked to also send down your multimedia files remotely.
If you use installation with "include multimedia" selected, multimedia will be included in any remote updates to that application. The phones will incur increased data usage (carrier costs could be applicable).
Applications with large amounts of multimedia (more than 20 images and/or audio files) may take a long time to install or not install successfully using this method. Even after the app is installed, updating the app would take very long (could fail if connection is poor). It is recommend that such apps (with large multimedia) use other installation methods.
We recommend installing over a Wi-Fi connection rather than a mobile data network for initial install or update of large amounts of multimedia files.
- Separately, open CommCare on your phone, as you can see below, you can either click on Scan Application Barcode or Enter Code.
Difference between Scan the Application Barcode and Enter Code
Scan Application Barcode
When using this option, you will need to be logged into CommCare HQ (CCHQ), and have your mobile device near you. When you click on the Scan Application Barcode link on CCHQ, a modal will popup with a QR code which you will need to scan with your mobile device by selecting the Scan Application Barcode option. The phone will initiate it's camera which you'll need to point to the screen showing the QR code and scan the QR code provided.
Enter Code
You use the app code presented on CCHQ and enter it on your mobile device to install the application. With this method, you can just provide the code to your users in the field, without them being next to their computer. As long as a user has the code, they can install the application.
Note this code is unique to each version of the application.
E.g. Application A with version 1XX has a unique code which is different from Application A with version 2XX.
- Type in the app code from the website into the box (or scan the QR code if you clicked on scan application barcode) and click on "Begin Install." Depending upon the size of the application, it could take several minutes for the installation to complete.
- Log in on the mobile device with the Mobile Worker username and password you created on CommCare HQ.
- If you do not have a mobile user account, create a CommCare mobile worker in your project.
Note: you can not log into CommCare mobile using CommCare HQ login credentials.
Option B: Online Installation - Without Multimedia
If you do not want to remotely update multimedia files in the future, you must install multimedia offline.
- Connect your phone to the computer. Open the phone's SD card. (Sometimes phones will have two SD card folders - one in internal memory and one that is the actual physical SD card. In this case try using the internal SD card first).
- On your phone install a File Browser (ex. Amaze File Explorer)
- On CommCare HQ, click on the blue "Deploy" button for your application, then click on "Download Multimedia"
- Copy the downloaded .ccz file to your phone. If you copy the phone right onto the phone's SD card (not in any folder), CommCare can often automatically find it.
- Install the CommCare application. This will validate your multimedia for the application.
- You will see a set of messages indicating that multimedia could not be found.
- Press Menu or Settings button on your phone and choose the Install Multimedia option.
- Sometimes CommCare will automatically find the multimedia zip file (if you copied it directly to the phone's SD card). If it is not already listed, press the Folder button and find your multimedia zip file.
- Click on the Install Multimedia button.
See this handout for guidance on installation and use of multimedia on CommCare
If your application has multimedia and you did not choose to "Include Multimedia", the installation will likely fail at this point with a message that multimedia validation has failed. You will then have the opportunity to direct CommCare to your multimedia files. See below under "Installing Multimedia" for more detail on this process.
Option C: Offline Installation
- Connect your phone to the computer. Open the phone's SD card. (Sometimes phones will have two SD card folders - one in internal memory and one that is the actual physical SD card. In this case try using the internal SD card first).
- Make sure you have a file browser on your phone (This should come automatically with all devices). If you do not, you can download one from the Google Play Store (ex. Amaze File Explorer).
- Choose "Offline" from the Download to Android menu and click to download the file "CommCare.ccz".
- Copy the downloaded .ccz file to your phone.
- Open CommCare. From the installation screen, click the menu button and choose "Offline Install"
- Choose the "CommCare.ccz" file. If you cannot find the ccz file, you just need to tell your device to "show internal storage" or "display advanced devices", which should be in the settings drop down when you open the initial file selection from CommCare. Now you should be able to find the file. In case this doesn't work, install Amaze File Explorer as in step 2 above.
If your app includes multimedia, please note that offline install will include all multimedia files you uploaded to CommCare HQ. All future remote updates will include changes to multimedia files.
Updating and Changing Applications
Updating an application ("Remote Update")
When the application updates, it will update to the latest released version of your application on CommCare HQ. To mark a version as latest, simply click on "Released". You can also unmark it as latest by clicking on "Released" again.
To update the application on the device to the latest released version, follow the below steps:
- Open the CommCare app on the mobile device
- Login as a mobile worker
- Click the device's options menu (3 dots) and select Update App as described in the CommCare Users Guide. CommCare will search the latest released version of the application on your CommCare HQ project space and if available, automatically download it.
You can set the CommCare app to automatically try to check for updates on a regular basis through the Auto Update Frequency application setting via CommCare HQ (see Advanced Application Settings).
For more detail, please see How to Update CommCare Application Content.
Installing a different application
If you are using CommCare 2.50 or above, you may have up to 4 applications installed on one device at a time. If you are using CommCare versions 2.29 - 2.49.7, you may have up to 2 applications installed.
To install a second app:
Go to the login screen of CommCare
Click on the options menu (the 3 dots in the top right corner) and choose "Go to App Manager"
Click “Install an App”
Proceed with normal installation (from step 3 of 'Installing your CommCare Application')
To uninstall an app:
Go to the login screen of CommCare
Click on the options menu (the 3 dots in the top right corner) and choose "Go to App Manager"
Select the app you want to uninstall
- Click “Uninstall”
If you are using CommCare 2.28 or lower, you cannot have 2 CommCare applications installed on the same Android phone. Before installing a new application, you must remove the old application:
- Open CommCare and login. Use the "Sync" button to make sure you have sent in all data from the old application.
- On your phone, go to Settings -> Application -> Manage Applications
- Find CommCare and choose "Clear Data"
- Proceed with normal installation (from step 3 of "Installing your CommCare application")
7 Comments
Anonymous
you can put a qr code or a direct link to the android marketplace for the app, as well as include qr codes to be delivered to end users to ease installing.
Anonymous
agree with u
Anonymous
Is there any way to download it onto a memory card from a pc and then insert the memory into an Android device?
Jeremy Wacksman
Offline installation of CommCare Android applications is not actively supported, but you may be able to use the instructions here: https://help.commcarehq.org/display/commcarepublic/Installing+ODK+Applications+Offline+-+Advanced
Anonymous
Can you not use the on phone camera to scan a QR code? What is the functionality there?
Anonymous
can i deploy forms on mutiple phones with the commcare application...??
Jeremy Wacksman
Yes, it is possible to deploy an application to multiple phones; just follow the installation instructions for each device.