Clock

From Openmoko

Jump to: navigation, search
Not implemented: This article or section documents one or more features that are not implemented and which may never be implemented.


Contents

Suggestions

http://www.heise.de/mobil/artikel/100180

Maybe this Palm tool, called Watchmaker can be used/ported for/to OpenMoko.

Overview

The Clock Panel Application is used to indicate and adjust the time modes.

Use Cases

Here are some possible use cases:

  • I want to be able to quickly view the current time and world times.

Appearance & Interaction

On Tap

<Insert Picture>

Opens the Clocks application

Advice: SunZhiyong

Put the Clocks application to Tap with Hold!

Keep the Tap event empty, to avoid user mis-touch this area, and the application run without any confirmation.

On Tap with Hold

Opens a Popup Menu with the following structure:

Item Action Constraints
12 hour mode Sets time format to 12 hour format Grayed-out when already in 12 hour format
24 hour mode Sets time format to 24 hour format Grayed-out when already in 24 hour format

honestly, why gray-out options that are effectively binary? just change the option to the opposite of what is set. garbage pseudocode follows:

if (mode == 24){
 menuDisplay = "12 hour mode";
}elseif (mode == 12) {
 menuDisplay = "24 hour mode";
}
function modeSwitch(){
 if (mode == 24){
  mode = 12;
 }elseif (mode == 12){
  mode = 24;
 }
}

better yet would be to use a boolean mode, like mode24.

SunZhiyong:

Put the Clock application here

Constraints

(TBD)

Architectural Details

(TBD)

Implementation Recommendations

Please review Wishlist:Set_Local_Time for some implentation suggestions.

Unresolved Issues

(None)

Questions and Answers

(None)

Personal tools