An HTC Widget for the iPhone 4 / 3GS and optimized for the retina display.
To change your location, edit the Private\WeatherWidget\WeatherWidget.html
file in notepad. About half way down the file you'll find the locale
variable. Change it to your zip code.
This can be placed on your springboard or lockscreen. Simply delete or rename the one you don't want to use. For example: If you want this on your springboard, delete or rename LockBackground.html. If you want this on your lockscreen, delete or rename Wallpaper.html.
I've included a .psd to create your own digits.
I used the template from here
Fixed bug with displaying temp in Celsius
Added version without forecast
Added 24hr clock option (half-way down Wallpaper.html
file, change TwentyFourHourClock
variable to true)
Fixed bug causing weather to not always update (hopefully)
Added option to translate weather descriptions. Currently, it only has Italian and English, but you can add your own. Open the translation.js
file and make a copy of the Italian translation code. Then replace the descriptions with your own translations and rename the language array from "Italian" to whatever your language is. Finally, open the WeatherWidget.html
file and change the LangTranslate variable to your new language.
If people submit their translations to me, I'll add them to the default download to save others all this trouble. Thanks!
Added Hi and Lo temps to the "No Forecast" version
Added option to remove leading zero from the hours. In the LockBackground.html
files, look for var showLeadingZero = true
and change it to false
to remove the leading zero.
Updated to enable 24 hr clock on the lockscreen
Bigger and clearer icons