FORUMS
Remove All Ads from XDA

 View Poll Results: What should I do if the time/date string is too long?

Just live it cut off
 
60 Vote(s)
14.67%
Force the user to unselect some items or reduce font size
 
97 Vote(s)
23.72%
Switch to two line display
 
190 Vote(s)
46.45%
Something completely different (see post)
 
62 Vote(s)
15.16%

[New release] Clock with seconds (today plug-in)

1,548 posts
Thanks Meter: 17
 
By levenum, Retired Moderator on 24th March 2006, 04:04 AM
Post Reply Email Thread
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).
 
 
24th March 2006, 12:01 PM |#2  
Senior Member
Thanks Meter: 3
 
10
More
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".
24th March 2006, 01:08 PM |#3  
levenum's Avatar
OP Retired Moderator
Thanks Meter: 17
 
More
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?
24th March 2006, 01:18 PM |#4  
Conchas's Avatar
Senior Member
Flag Lisbon, Portugal @nywhere
Thanks Meter: 1
 
More
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!
24th March 2006, 02:14 PM |#5  
levenum's Avatar
OP Retired Moderator
Thanks Meter: 17
 
More
Code sent via email.
24th March 2006, 07:00 PM |#6  
Senior Member
Thanks Meter: 32
 
More
Quote:
Originally Posted by levenum

Code sent via email.

Can you send the code also to me? Would be nice. Thanx
24th March 2006, 08:22 PM |#7  
Retired Moderator
Flag Coventry, England
Thanks Meter: 6
 
More
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!
24th March 2006, 08:23 PM |#8  
Retired Moderator
Flag Coventry, England
Thanks Meter: 6
 
More
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!
25th March 2006, 06:07 PM |#9  
levenum's Avatar
OP Retired Moderator
Thanks Meter: 17
 
More
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:
25th March 2006, 08:22 PM |#10  
Junior Member
Thanks Meter: 0
 
More
I want the code also.Thanks a lot
25th March 2006, 08:30 PM |#11  
Senior Member
QLD Australia
Thanks Meter: 1
 
More
Hey good jb, I have downloaded, but not installed.

I suggested to SPB to get a hurry up with their WM5 release of SPB Time, and have heard that it has gone into Beta, probably for this reason.

will have a look and provide feedback. Without looking, some good features that people have indicated a need for in clock feature on other forums are:

1. Alarm clock system that works
2. Floating screen saver for clock
3. Stop watch and lap counters
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes