Thread: questions
View Single Post
Old 08-06-2009, 03:13 PM   #27
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Hi yingwu,

I modified hello-world to print the time. So you start the clock program and then start reading. When you want to know the time, start the menu and switch to the clock application. Then switch back again (if it is not yet time to go to sleep ). Since it is a modified-copy of hello-world it still contains the menu-items from hello-world. Please only use Close, the rest might crash the app. (I might do a clean-up in a future version.)

The clock is only updated when the application gets 'activated', i.e. when it is brought to the front using the menu, so no unneeded drawing/refreshing. Basically a very boring program once started ...

Please let me know what you think of it?

----------------------------------------------------------------------------------------------------------------------------------------------------
Installation: Just unzip to your SD-card.
De-Install: remove /Programs/_mxClock -directory and the /Programs/mxClock.desktop -file.

PS: This will not work with FBReader. I am not able to build FBReader myself, so I am not able to add an icon for it in the Task Manager row of the menu. So once you selected the clock application you can not switch back anymore to FBReader. If anyone has some tips on how to build it myself(Adam still around?) I could also add the icon to that program.
Attached Files
File Type: zip Programs_mxClock_V0.1.zip (34.6 KB, 220 views)
Mackx is offline   Reply With Quote