sunclock
Sunclock is a J2ME Midlet for mobile devices that displays a map of the Earth and indicates the illuminated portion of the globe by drawing sunlit areas dark on light, night areas as light on dark. In addition to providing local time for the default timezone, it also displays up to four additional cities on the map with the local times also. The map updated every minute to follow the movement of the earth.
Using the Setup menu you can choose the cities according to your interest. You can give the DST rules for the chosen city. If you have internet access on your handset you should search the city using the "Search" menu and the remote service will find the proper DST rule settings for you. Otherwise you should use the provided online DST rule search service on the top right corner of this page. You have to specify the correct timezone values relative from GMT (for example +5.5hours will appear as 530) and the integer WGS-84 coordinates multiplied by ten (N14.7432 will be lat: 147) of the cities to display them on the map. Thus most of the current phones do not supports the timezone settings, the localtime will be calculated based on the Main City setup and the internal phone clock will be interpreted as a timezone corrected local time value according to the Main City timezone selection.
thanks
- For website design templates thanks for Bryan Varner at The LooneyBin
- Thanks for Tamas Majoros for webhosting, svn hosting, geocoding script adopting and general support and testing
- For the night earth image thanks for yellowgoat.
- Thanks for the algorithm and the daylight image for Dave Katz, John Mackin, John Walker and Alexandre VIALLE
- For P.J. Onori who created the amazing Bitcons icon set
- For the header image thanks for Diego Sevilla Ruiz
- Thanks for Jonathan Stott for timezone searching service
- Geocoding service based on Web Services by Yahoo! and on Google Maps API services
- Thanks for extended geocoding scripts for science
- For spinning busy icon, thanks for Andrew B. Davidson
- The author of the country icons is Mark James from famfamfam.com
- For header effects thanks for Eric Grey (the organ clock)
- Thanks for NotePage Inc for the rss2html php module
- For Greg Bulmash who made the neat mobile browser detection function
- Thanks for the beautiful Tagettes typefaces for Dr. Marianne Steinbauer
- Thanks for John Walker who created the Suntools software which can be found in the Volume 1, Issue 79 of comp.sources.sun at 1992
- Thanks to Michael Leonhard for the support and encouragement
download v1.3.26
Download the application to your computer for local (bluetooth/irda/cable) install:
install
- The easiest method is the OTA, just start your internal phone browser and navigate to the
http://sunclock.midlets.eu/dwnwebsite, select a suitable variant (if unsure, select the first one with the lowest number) and download and install the software like any other java application. - The most confortable way is to download the proper variant to your computer and send the downloaded
XXX.jarfile to your device using bluetooth or cable connection. - For more information see this tutorial.
screenshot

feedback
Leave a short feedback
| 29/Jun: yeh lat and lon is a bit confusing ....=/
20/Jun: How can I put lat and lon for my town and other cities? I would like to know where is examples. very hard to set up >>> (re: You can find examples on the website right above this form. If you still find it hard, please write me an email and I'll help you! ) 15/Jun: Thanks for the app...It works great on my phone, thanks to this site I was able to correct the time, since I didn't have a cell data plan. 4/May: i had to guess on the GMT, no matter if it was correct or not it wouldnt post the correct time, and the shading is still wrong, help >>> (re: set the home town to your current location, set the phone-time correctly -- or write me an email ) 27/Apr: Yes please, I would love a landscape version. This application is so great. Thanks. 14/Apr: would somebody develop a landscape version, as you see the map itself is landscape. >>> (re: This is because the main target device was a typical phone with vertical display ) 14/Apr: Oops... I found the error, Sydney was OK but my home city had a wrong DST setting. I fixed it and it is working perfectly!!! Pretty good!!! 14/Apr: I checked the Tech page and it seems that Sydney code is OK, however I'm getting 1hr less than correct time, could you check it please? 6/Apr: I can't find my town - Mariupol, Ukraine. Can't find Kiev, Ukraine, too... >>> (re: Try to check your internet setup! ) 31/Mar: Pretty good App! although for any reason, the Search City feature doesn't find any city, however I find them on this web >>> (re: It's usually due misconfigured internet setup. Please write me an email and I'll try to help you to set it up! ) |
release notes
- Rendering bug corrected
- Bad rendering after day 266 - fixed
- Phone Time saving bug fixed
- fullscreen hotkey moved to STAR key according to other midlets
- new splash screen mechanism (better compatibility)
- modified About screen
- hide bug fixed
- URLs redirected to custom cgi
- smaller AND nicer images
- update, search bugfix
- water hemisphere DST fixed
- hotkeys added
- fullscreen
- smarter layout
- new urls for searching
- new phone time option for some phone models during DST
- smaller jar file
- new command added to make a city to main location
- UTF8 city name handling
- cosmetic fix when using large fonts
- new splash screen
- Sydney DST rules fixed
- 320px wide version added (nothing new for other resolutions)
source
Download the nightly svn backup here: sunclock-nightly.tgz(44MB created: 2009-07-04)


