Various actions (Reading the file system, submitting data, etc) require user permission before they can be performed on Nokia phones. You can configure the phone to always allow (or any other level of permission) these actions in order to make the application run more smoothly.
Configuring the Phone for Smoothest Access (Nokia S40)
- If you've just copied the application to the phone's memory, restart the phone. The phone won't save the following settings in some situations if it is not restarted first.
- Locate the application on the phone as if you were about to run it
- Navigate to Options -> Application Access
- Select Communication -> Network Access and choose Always Allowed
- If this option is not available, confirm that the application is properly signed (see below).
- Repeat the previous step for any of the following which exist on your device:
- Communication -> Connectivity
- Communication -> Connectivity
- Data Access -> Read User Data
- Data Access -> Add and edit data
- Data Access -> Multimedia Recording
- Positioning -> Get Location
Ensuring the Application is Signed:
Follow these steps if you are unable to set the permissions for the app as described above:
- Locate the application on the phone as if you were about to run it
- Navigate to Options -> Details
- Scroll down until you find the lines for certificate. Make sure it says
- Certificate: yes
- Organization: Thawte Consulting cc
- If the certificate is not there, you will have to reinstall CommCare.
Advanced: Checking the Phone's Root CA's (Certificate Authority):
Follow these steps if you are unable to set the permissions for the app as described above. This fixes the phones certificate authority (CA) which can be corrupted if a local phone shop re-flashes the firmware on your Nokia phone.
- From the phone's homescreen navigate to Menu -> Settings -> Security -> Authority Certificates
- This is a list of all of the authorities on the phone (which designate what certificates are accepted
- Navigate through the list looking for a certificate with the words Thawte and Code Signing in the name
- There may be multiple Thawte certificates
- If you find the certificate press Options -> Select Use. Ensure that Apps. Signing is on the list and that it is checked
- If the certificate is present and Apps. Signing is on the list, but unchecked for some reason, check that box and try again
- If there is no Thawte code signing certificate on the phone, it has likely been flashed with an invalid OS. Contact an official Nokia store to get the phone's OS/Firmware restored to stock.
- This happens occasionally when servicing phones at roadside or unofficial tech support vendors.
Notes:
- These application permissions are cleared when the phone loses track of the application (IE: if you unplug the SD card and plug it back in), so you'll need to set them again if you make changes of that nature.
- Many of these options are only allowed to be set to Always Allowed if the application is Digitally Signed. This is a process which is handled by CommCare HQ when you build an application, but may not have occurred for other builds of CommCare. If any of the options cannot be set (grayed out) to Always Allowed, contact the CommCare users list for assistance.