Wiki

Clone wiki

javarosa / Troubleshooting

Troubleshooting Problems you may encounter while using JavaRosa

Nokia Phone Cannot Submit Data

You need to set up an Access Point on your phone:

  1. From your phone's standby screen select "Menu"
  2. Select "Settings"
  3. Select "Configuration"
  4. Select "Personal Configuration settings"
  5. Select "Options" > "Add New"
  6. Select "Access point"
  7. Select "Account Name" and change the default account name to "CommCare" (or any name you prefer)
  8. Select "Access Point Settings"
  9. Make sure "Data bearer" is set to "GPRS" or "Packet data"
  10. Select "Bearer settings"
  11. Select "GPRS access point/Packet data access point"
  12. Change the access point to the network specific APN. (eg. yellopix.mtn.co.ug for MTN Ug, epc.tmobile.com for any T-Mobile phone)
  13. Leave "User name" & "Password" blank.
  14. Go back to the "Configuration" menu ("Menu" > "Settings" > "Configuration")
  15. Select "Preferred access point"
  16. Select "CommCare" (or any other name you chose in step #7)
  17. Select "Default Configuration Settings"
  18. If nothing is listed, follow these steps to create a configuration setting:
  19. Go back to "Personal Configuration Settings"
    1. Select "Options"->"Add New"
    2. Select "Web"
    3. Keep the defaults for the account and create it
    4. Select "Default Configuration Settings"
  20. Choose the newly created access point/web account.
  21. On the previous screen, select "Activate default in all app"
  22. Restart the phone

Preserving RMS

In the Nokia S40 3rd ed fp2 emulator, if you want the RMS to be saved properly (so that it can be copied and re-used in subsequent emulator invocations), you need to close the application properly. So instead of just closing the emulator, you need to exit from the application as you would on the real phone. When you exit the application (with the emulator still running) you should see all the files in C:\Nokia\Devices\S40_SDK_3rd_Edition_Feature_Pack_2\bin\Storage\<your instance here>\C\DirectLoaded updated.

Palm !HotSync spontaneously stops working

This is a [http://www.smartcomputing.com/editorial/article.asp?article=articles/archive/r0906/13r06c/13cr06.asp&guid=/ known] "interaction" between Palm OS devices and Windows operating systems. In order to fix it:

1. Uninstall palmOne. 1. Download, install, and run the Palm [http://www.palm.com/us/support/downloads/visor/usb_registry_windows.html/ USBRegClean] utility. 1. Restart your machine. 1. Reinstall palmOne using the installation CD that came with your Palm device. 1. Download and install the latest version of [http://www.palm.com/us/support/downloads/windesk414e.html/ HotSync] from the Palm website.

Build Errors and Known Resolutions

BUILD FAILED build.xml:30: Invalid CSS: the style-reference to "none" in style [mailalert] refers to a non-existing style.

Solution: Upgrade to j2mepolish Version 2.0 or greater. The 'none' style doesn't exist in prior versions of polish.

This is a weird problem with stale build problems. Try "Project->Clean..."

Updated