Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
DaveShaw
Old
(Last edited by DaveShaw; 11th May 2010 at 03:34 PM.) Reason: 0v06 Release
#1  
DaveShaw's Avatar
Retired Senior Moderator + Wiki Bureaucrat - OP
Thanks Meter 285
Posts: 8,704
Join Date: Dec 2007
Location: Huddersfield
Default [APP] TimeSyncTZ 0-06 - NTP Time Sychronisation Client (06-JUN-09))

Info:
TimeSyncTZ is a Time Zone aware NTP client that also copes with Daylight Saving Time (DST). I wrote this after using an app called Sychro Time that only synced to UTC time rather than British Summer Time.

Screens:


Features:
  • 10 nist time servers to choose from.
  • Auto connects to the internet.
  • Silent running mode from the command line.
Usage (command line):
TimeSyncTZ can be started from a shortcut with any of the following parameter combinations. silent must be specified.

Code:
TimeSyncTZ.exe silent [/debug | /debug+ | /debug-] [/timeout:ms] [/silentdelay:ms] [/server:address] [/autoconnect | /autoconnect+ | /autoconnect-]

silent	                Mandatory first param to enable use of command line mode.
/debug[+/-]            Enable/Disable Debugging (Specifying enables, use +/- for explicit on/off) - default Off.
/timeout:ms            Number of miliseconds to wait before the NTP class times out - default 20000.
/silentdelay:ms        Number of miliseconds to wait before attempting the Sync (Useful when auto running when starting the OS) - default 15000.
/server:address        Address (IP/DNS) of the Server to sync with, if not specified will use the last server - default pool.ntp.org.
/autoconnect[+/-]      Enable/Disable auto connection to the internet (Specifying enables, use +/- for explicit on/off) - default On.

Change Log:
Download Full Change Log

0v06
-Added Config Dialog
-Fixed AutoConnect option
-Improved Error Handling (See \TimeSyncTZ_Error.log if the program crashes). Now logs silent mode errors too.
-Fixed LastSync bug from 0v05

Todo: (Expected fix in release)
  • Scheduling support, menu item to create "auto run" shortcut and a "Run when Internet connection established" support (0v07).
Known Issues:
  • Display problems in CE (#123)
  • Need to double sync when in DST and massively out of date (#128)
Credits:
Valer Bocan (for the C# NTP Class).
d0ugie (for encouragment)
nika (for support, as ever)
slumpz (for pool.ntp.org)
l3v5y (for looking after the thread)

MD5 Hash:
Code:
0v06 - FEDBBB61D18990DD8E04B9B7484A73DA
Attached Files
File Type: cab DaveShaw TimeSyncTZ 0-06.cab - [Click for QR Code] (83.9 KB, 5005 views)
--Retired.
 
l3v5y
Old
#2  
l3v5y's Avatar
Retired Senior Moderator
Thanks Meter 35
Posts: 7,390
Join Date: Sep 2007
Location: Bristol

 
DONATE TO ME
Thanks for this! I'll test it and report back.
 
bdumch
Old
#3  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Oct 2007
Can you clue me in to why one might use this app? I travel all over the US and the network sync for time zones built into my phone is crap and I can't deal with wasting time fixing appoinments after changing time zones.
 
DaveShaw
Old
#4  
DaveShaw's Avatar
Retired Senior Moderator + Wiki Bureaucrat - OP
Thanks Meter 285
Posts: 8,704
Join Date: Dec 2007
Location: Huddersfield
Quote:
Originally Posted by bdumch View Post
Can you clue me in to why one might use this app? I travel all over the US and the network sync for time zones built into my phone is crap and I can't deal with wasting time fixing appoinments after changing time zones.
It doesn't Sync Time Zone's it Sync's your time, but in your own time zone (set in regional settings) rather than in UTC time.
--Retired.
 
nikagl
Old
#5  
nikagl's Avatar
Senior Member
Thanks Meter 371
Posts: 2,025
Join Date: Jun 2006
Location: Nieuwegein, NL

 
DONATE TO ME
Great app, better than SP Timesync which does not automatically connect (though I do like the interface ).Regards,Nika.
Nika Gerson Lohman
__________________


Current Devices:
Samsung Galaxy S+ (I9001)
Acer Liquid Express E320
Acer Liquid Express E330
Acer Iconia Smart S300 (bricked, sdcard-slot broken)
Acer Iconia Tab A511 (bricked, apx mode & screen broken)

Still looking for the Thank You button? Change your style to XDA 2010 (bottom left hand corner)
 
DaveShaw
Old
#6  
DaveShaw's Avatar
Retired Senior Moderator + Wiki Bureaucrat - OP
Thanks Meter 285
Posts: 8,704
Join Date: Dec 2007
Location: Huddersfield
Quote:
Originally Posted by nikagl View Post
Great app, better than SP Timesync which does not automatically connect (though I do like the interface ).Regards,Nika.
Thanks Nika,

I keep tinkering with the source and I will be done updates when I get time. I might even look at the UI as well

Dave
--Retired.
 
DaveShaw
Old
#7  
DaveShaw's Avatar
Retired Senior Moderator + Wiki Bureaucrat - OP
Thanks Meter 285
Posts: 8,704
Join Date: Dec 2007
Location: Huddersfield
I've finally updated this app, hopefully I'll keep tinkering to improve stuff, feel free to post feed back.

Ta
Dave
--Retired.
 
d0ugie
Old
#8  
d0ugie's Avatar
Senior Member
Thanks Meter 11
Posts: 532
Join Date: Jan 2007
Location: New York
Default TimeSyncTZ FTW!

Bravo Dave. In software and other areas in life it often eludes us that simplicity and usefulness are not mutually exclusive.

Thanks for letting me host it. I didn't just add it, I ditched your competitor of sorts sptimesync, a move which is a first for my site.

Doug
see at&t get its ass kicked right here
get battery facts from batteryboss.org
 
l3v5y
Old
#9  
l3v5y's Avatar
Retired Senior Moderator
Thanks Meter 35
Posts: 7,390
Join Date: Sep 2007
Location: Bristol

 
DONATE TO ME
I love the "I'm a programmer..." line...

Thanks for the update. Now I can get the time right whenever I startup my phone... And that happens a lot with excessive ROM flashing and unstable software!
 
nikagl
Old
#10  
nikagl's Avatar
Senior Member
Thanks Meter 371
Posts: 2,025
Join Date: Jun 2006
Location: Nieuwegein, NL

 
DONATE TO ME
Not sure whether I've ever posted this, but when you sync your phone calendar appointments, and sync the time afterwards you might get strange notifications, and errors (I've had this several times). Nowadays I always perform the following steps when ROM-updating:

1. Update ROM, usually I do not change time/date with the initial screens
2. Run timesync + soft-reset
3. Run Sashimi (or UC, or whatever you use to install your apps )
4. Sync my exchange account (= contact & calendar)

Funny thing I noticed is that syncing exchange/calendar takes a long time on WM6.1 (every 100 cal-items it delays for a few minutes), which does not occur on WM6.0... (yeah, I'm running a 6.0 default ROM currently )

Regards,

Nika.
Nika Gerson Lohman
__________________


Current Devices:
Samsung Galaxy S+ (I9001)
Acer Liquid Express E320
Acer Liquid Express E330
Acer Iconia Smart S300 (bricked, sdcard-slot broken)
Acer Iconia Tab A511 (bricked, apx mode & screen broken)

Still looking for the Thank You button? Change your style to XDA 2010 (bottom left hand corner)

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more