Go Back   xda-developers > Windows Mobile Development and Hacking > Development and Hacking General


View Poll Results: What should I do if the time/date string is too long?
Just live it cut off 53 13.91%
Force the user to unselect some items or reduce font size 93 24.41%
Switch to two line display 180 47.24%
Something completely different (see post) 55 14.44%
Voters: 381. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th March 2006, 05:04 AM
levenum's Avatar
levenum levenum is offline
Moderator
 
Join Date: Jul 2005
Posts: 1,550
Default [New release] Clock with seconds (today plug-in)

Greetings everybody!

This project started as a simple test to write a today screen plug-in. The first version did nothing but show date and time updated every second. It had no options and in my opinion was useless.
Then I found out about the new AKU2 ROM and that there were a lot of people out there who really didn't like the changes made to today screen.

So I decided to continue with the project, and now it has evolved so even the title of the thread isn't very suitable any more. I keep it so people can recognize the thread.

Here's what this plug-in has to offer:

• Show date on today screen in one line, like in older ROMs.
• Show clock on taskbar in today screen (with / with out AM / PM).*
• Show date in taskbar*
• Options to control what appears in today screen: long / short date, time, seconds.
• 4 different alignment options.
• Custom font size for plug-in.
• Shows alarm icon, even on WM2003 devices.
• Option to blink the taskbar clock at user set intervals.*
• Option to turn of selectability.
• Windows Mobile 6 compatible
• Internet time synchronization (manual only)

*The plug-in does not effect system displayed taskbar clock if it exists, instead it puts it's own clock covering some icons. It can do so in today screen and all programs. The covered icons can still be accessed by taping on their location (the clock is 'click transparent')

NOTE: Before updating the plug-in, disable old version and then uninstall it. This will insure new file and settings will take effect. It is also recommended to preform soft reset.

DISCLAIMER: This program comes free but with no warranty, or even a guarantee that it will work. I take no responsibility for any damage that might incur from using this program.

PLEASE NOTE: The download is just below this message, but you must be logged in to see it.

LATEST VERSION: 0.2.1 published on 12/1/2008

One minor bug fix: my leap year calculation was off so the internet time sync was a day back. This is now fixed.

Download the app: LVMTime.CAB
Want to know how it works? Get the source code: LVMTime source.zip

Side note: It seems that the pole was reopened (probably because of forum format change. 33 people voted for "something else" but I have not received a single suggestion. "see post" means that if you vote for "something else" you must add a post with a suggestion - or I'll have to hunt you down for it! (Just kidding - not time as it is).
__________________
HP iPaq rz1710
ROM 1.00.05 ENG from 22/6/2004

i-mate Jamin (Prophet G3)
WM6 - PDAViet 4.0.0.0.6 Touch


My apps:
LVMTime | LVMTopBat | RegDisplay


Last edited by levenum; 12th January 2008 at 11:00 PM.. Reason: Strange thing in the poll...
Reply With Quote
Sponsored Links

  #2  
Old 24th March 2006, 01:01 PM
ZeBoxx ZeBoxx is offline
Senior Member
 
Join Date: Dec 2005
Posts: 923
Default

very nice

I'm about to commission something like this myself (plans from a month back or so - hope you don't mind)... here's one thing I noticed immediately; the font size doesn't respect the system font size. So if your today text is all "smaller" or "small", your item will still display as "normal".
__________________
HTC Wizard::Qtek 9100 EN
ROM: 1.1.7.5 (9/22/05)
ExtROM: 1.1.7.105
Radio: 01.01.10
Protocol: 4.0.13.16
OS: 5.1.70 (Build 14402.1.1.0)
Reply With Quote

  #3  
Old 24th March 2006, 02:08 PM
levenum's Avatar
levenum levenum is offline
Moderator
 
Join Date: Jul 2005
Posts: 1,550
Default

Hi ZeBoxx!

Quote:
I'm about to commission something like this myself (plans from a month back or so - hope you don't mind)...
Like I said this is just something I did as a test so be my guest, in fact if you want, I can send you the code, it's really basic but a good starting point.

Quote:
the font size doesn't respect the system font size
Yeah, I just create the font once in a global var. If someone will be kind enough to point me toward the right registry key, I'll be happy to correct this.

Also I'm pretty sure that clock.exe has a command line parameter that forces it to open on the time tab instead of the last tab accessed (when you launch it from the clock / run menu), I've tried several options but none of them worked. Does any one know what the parameter is?
Reply With Quote

  #4  
Old 24th March 2006, 02:18 PM
Conchas's Avatar
Conchas Conchas is offline
Senior Member
 
Join Date: Dec 2004
Location: Lisbon, Portugal @nywhere
Posts: 258
Default

Hi Levenum,

nice if you could send me the code too.
Thinking to implement some options, that might be usefull.
- Show/hide date
- Show/hide seconds
- Left/right justify

Seems to be the best alternative, for lack of clock in Today screen with new WM5.0 ROMs.
At least until someone cames with a proper hack!
__________________
Best Regards
Fernando Correia

Qtek 9000 (HTC Universal PU10)
ROM: 2.60.00 WWE (WM5 AKU 3.5 Test Release, by Ivan)
ExtROM: 1.30.176 WWE, Customized
Radio: 1.14.10
Bootloader: v1.01
Reply With Quote

  #5  
Old 24th March 2006, 03:14 PM
levenum's Avatar
levenum levenum is offline
Moderator
 
Join Date: Jul 2005
Posts: 1,550
Default

Code sent via email.
Reply With Quote

  #6  
Old 24th March 2006, 08:00 PM
topcaser topcaser is offline
Senior Member
 
Join Date: Dec 2005
Posts: 148
Default

Quote:
Originally Posted by levenum
Code sent via email.
Can you send the code also to me? Would be nice. Thanx
Reply With Quote

  #7  
Old 24th March 2006, 09:22 PM
meschle meschle is offline
Senior Member
 
Join Date: Feb 2006
Location: Coventry, England
Posts: 1,107
Default

Thanks levenum
I think this good and can be further enhanced.

1. Clock to be sensitive to the h:mm:ss tt setting so we can alter the format and option to turn seconds on/off

2. Date format to be sensitive too to the format set

3. I think I would prefer the time to be right justified as this would appear neater.

I think this project could be a real goer as many have complained with the new wm5 roms and two lines date and time take.
Keep up the good work!
__________________
Regards Mark

Retired from forum
Reply With Quote

  #8  
Old 24th March 2006, 09:23 PM
meschle meschle is offline
Senior Member
 
Join Date: Feb 2006
Location: Coventry, England
Posts: 1,107
Default

Thanks levenum
I think this good and can be further enhanced.

1. Clock to be sensitive to the h:mm:ss tt setting so we can alter the format and option to turn seconds on/off

2. Date format to be sensitive too to the format set

3. I think I would prefer the time to be right justified as this would appear neater.

I think this project could be a real goer as many have complained with the new wm5 roms and two lines date and time take.
Keep up the good work!
__________________
Regards Mark

Retired from forum
Reply With Quote

  #9  
Old 25th March 2006, 07:07 PM
levenum's Avatar
levenum levenum is offline
Moderator
 
Join Date: Jul 2005
Posts: 1,550
Default

Hello everybody!
I am actually a bit overwhelmed by the warm response and the amount of downloads in such a short period of time. ops:
Since I don't have access to a WM 5 device with the current ROMs you mentioned here I had no idea there was a problem with the date on today screen.

Regarding adding the formatting options: I thought of that, but unfortunately I have next to no time to devote to this project (I didn't actually expect it to become a project) so since I need to do a search for the registry keys (or maybe there are API functions) that contain the date and time format I am not likely to incorporate them any time soon. Of course if someone wants to help by posting the relevant info or link to it, that might speed things alone.

If anyone out there wants to just take my code and add the options them selves like Conchas you are welcome to post the results right here.

Also, the code requests keep coming in. I didn't post the project here because I thought it will be a waste of disk space (it's just a basic outline for a plug-in) but if the requests keep coming I will post it here rather then sending it every time.

P.S.:
I found this forum very helpful, and am glad to give a little something back to the community, although I am sure a monetary donation would have been more appreciated by the site administration. :mrgreen: :mrgreen: :mrgreen:
Reply With Quote

  #10  
Old 25th March 2006, 09:22 PM
xdaIIse xdaIIse is offline
Junior Member
 
Join Date: Jan 2005
Posts: 5
Default

I want the code also.Thanks a lot
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:10 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.