Information regarding DHIS 2 Mobile (light-module)

 

Files

The module is dhis-2/dhis-web/dhis-web-light

The three current parts: 

  • Settings: org.hisp.dhis.light.action.settings.*
  • Reporting: org.hisp.dhis.light.dashboard.*
  • Dataentry: org.hisp.dhis.light.dataentry.*

 


In src/main/webapp/dhis-web-light:

  • main.vm: main template, used for all pages
  • menu.vm: menu template (used for index)

Tips for developing in the light module

  1. Leave the css file mostly alone. This has been customized from a S40 nokia template, and is very effective in supporting all mobiles. If any changes are made, this should be tested in _all_ emulators (also on real hardware if available).
  2. This module was always meant to be a simple and small (think bandwidth!) mobile interface. So the less verbose HTML, the better.
  3. No javascript! Unless there is a _very_ specific need, and it will also work without javascript, do not add. Always use the comment trick, and feature detection.

Emulators

(some of these requires windows xp)

Opera mini 3,4 and 6

Download JAD files from http://www.opera.com/mobile/download/versions/

Download emulator from http://www.microemu.org/

Palm Pre

https://developer.palm.com/content/resources/develop/sdk_pdk_download.html

Windows Mobile 6

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5389

Windows Phone 7

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27570

Nokia S40

http://www.developer.nokia.com/Resources/Tools_and_downloads/Other/Series_40_platform_SDKs/

Android

http://developer.android.com/sdk/index.html

iOS

Part of Xcode (available in appstore)

 

Published Oct. 18, 2011 6:31 PM - Last modified Oct. 18, 2011 6:34 PM