Thursday, 14 June 2007

Feature: Handheld device support

The Sign In page now includes a check box titled “Handheld device” which, if checked, formats output for display on the small screen of devices such as personal digital assistants and mobile telephones. Image icons are suppressed, the large style sheet used for desktop presentation is skipped, and the charts in the monthly and historical charts default to 320×240 pixels in size. Handheld formatting is a property of the session and persists until the user signs out. A new column in the administrator session manager shows whether a session is in handheld mode.

Users of handheld devices can preset this mode and select a sign in form which is itself formatted for a small screen by bookmarking the URL:
  https://www.fourmilab.ch/cgi-bin/HackDiet?handheld=y
which will also preset the handheld device check box.

The present implementation is really just the beginning of an ongoing project of adapting the formatting for a small screen. While the result is certainly better than displaying the full desktop forms, a great deal more could be done to better optimise for small screens and slow connections, and suggestions for improvement are welcome.

No comments: