#1 Jan 20, 2009 7:31 pm

Stimpy5050
Member
From: Washington, DC
Joined: Mar 13, 2008

[MS Extension] WeatherIcon

This MobileSubstrate extension adds live weather information to your SpringBoard on top of the Weather application icon.  The configuration and condition images are handled through WinterBoard themes which allows for custom looks for the weather information. 

http://img21.imageshack.us/img21/2416/img0006xr4.png

NOTE: Due to the new way that I render the weather icon, the Weather.png (or whatever app you are applying the icon to) is completely ignored.  Whatever background you want to use should be the weatherbg.png in the SpringBoard bundle of the weather theme.  Optionally, you can include weatherbg_day.png and weatherbg_night.png for differing backgrounds during different times of the day.

Cydia: http://david.ashman.com/apt/
Cydia (BETA): http://david.ashman.com/beta/
Google Code: http://code.google.com/p/weathericon/

For configuration and themeing information, go to http://code.google.com/p/weathericon/.

I've begun releasing BETA versions occasionally when there are major changes.  The BETA cydia source is listed above.  I will mark the changes with (BETA) until it's an official release.

Thanks go out to Sakurina, natetrue and rated-r for huge SDK help.  Thanks to Katra for permission to release his weather images packaged for the icon.

Last edited by Stimpy5050 (May 19, 2009 7:42 pm)

Offline

 

#2 Jan 20, 2009 7:42 pm

Tiko
Member
From: ATX
Joined: Jan 8, 2009
Website

Re: [MS Extension] WeatherIcon

Oh my gosh so awesome.
Never thought it would happen going to download right now smile

Offline

 

#3 Jan 20, 2009 8:42 pm

Nath
Member
Joined: Apr 6, 2008

Re: [MS Extension] WeatherIcon

iPhone 3G - 2.2 Firmware.

Crashed my iPhone and put it into Safe Mode. I'll probably try it once the bugs are ironed out.

Offline

 

#4 Jan 20, 2009 8:44 pm

thebob
Member
Joined: May 7, 2008

Re: [MS Extension] WeatherIcon

Looks awesome, but it crashes springboard
http://itiz.in/7ejf




It persists after restarting, I;m thinking its FCSB thats causing the issues

Last edited by thebob (Jan 20, 2009 8:47 pm)

Offline

 

#5 Jan 20, 2009 8:44 pm

alyks
Member
Joined: Sep 28, 2008

Re: [MS Extension] WeatherIcon

NathR32 wrote:

iPhone 3G - 2.2 Firmware.

Crashed my iPhone and put it into Safe Mode. I'll probably try it once the bugs are ironed out.

I have the same:(

Offline

 

#6 Jan 20, 2009 9:02 pm

emb531
Member
Joined: Feb 4, 2008

Re: [MS Extension] WeatherIcon

Got the safe mode on install too, rebooted, still in Safe Mode.  Opened WinterBoard, checked off the Weather Icon, then it works perfectly!  Good work smile_thumbup  Updates will be cool big_smile

Offline

 

#7 Jan 20, 2009 9:36 pm

melwan
Member
From: Vancouver, Canada
Joined: Dec 3, 2008

Re: [MS Extension] WeatherIcon

^ I have the same problem and WinterBoard is in the dock of SBSettings. I cannot access SBSettings in safe mode sad

I cannot remove it from Cydia because I cannot access Cydia since it is in SBSettings as well.

Any1 has a solution? how can I remove it manually?

EDIT: managed to get it working by removing it manually.

Last edited by melwan (Jan 20, 2009 10:05 pm)

Offline

 

#8 Jan 20, 2009 10:10 pm

adamhdm42
Member
From: The City of Neon and Chrome
Joined: May 5, 2007
Website

Re: [MS Extension] WeatherIcon

an excerpt from my syslog:

Code:

Jan 20 22:43:16 localhost SpringBoard[492]: WI: Settings: (null)
Jan 20 22:43:16 localhost SpringBoard[492]: WI: Refreshing weather...
Jan 20 22:43:16 localhost SpringBoard[492]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFString stringByAppendingString:]: nil argument'
Jan 20 22:43:16 localhost SpringBoard[492]: Stack: (\n    808221155,\n    806100816,\n    808035743,\n    808035647,\n    812064533,\n    7617088,\n    7619700,\n    7620124,\n    7620636,\n    558941,\n    539543,\n    540121,\n    537247,\n    537001,\n    513272,\n    513168,\n    58857,\n    46177,\n    15003,\n    4176148,\n    807852041,\n    816116644,\n    816153144,\n    812205481,\n    807837071,\n    807834407,\n    827735648,\n    816119480,\n    816158236,\n    12827,\n    12544\n)
Jan 20 22:43:16 localhost com.apple.SpringBoard[492]: terminate called after throwing an instance of 'NSException'
Jan 20 22:43:18 localhost ReportCrash[497]: Formulating crash report for process SpringBoard[492]
Jan 20 22:43:19 localhost com.apple.launchd[1] (com.apple.SpringBoard[492]): Exited abnormally: Abort trap
Jan 20 22:43:20 localhost SpringBoard[498]: MS:Notice: Installing: com.apple.springboard
Jan 20 22:43:20 localhost SpringBoard[498]: MS:Warning: Entering Safe Mode
Jan 20 22:43:23 localhost ReportCrash[497]: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/SpringBoard_2009-01-20-224316_localhost.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

in case it helps!

Feature request: let the icon just be that of the stock Weather app (sun on blue background) with only the temperature that changes. it's subtle that way, and doesn't change the entire look of the icon. after all, you usually know whether it's sunny or raining out, but a quick glance to check the exact current temperature is always useful.

Offline

 

#9 Jan 20, 2009 10:11 pm

beatoven
Member
From: Mauritius
Joined: Dec 31, 2007

Re: [MS Extension] WeatherIcon

Waouwww. First there's a live clock on the springboard and now live weather?
I'll surely try it once the crashing stops. tongue

Offline

 

#10 Jan 20, 2009 10:43 pm

adamhdm42
Member
From: The City of Neon and Chrome
Joined: May 5, 2007
Website

Re: [MS Extension] WeatherIcon

Note: I can confirm that applying the theme in Winterboard fixes the crashings. and, that I can fulfill the above feature request all by myself just by deleting the PNGs in that theme, and getting rid of the existing temperature on the stock icon. big_smile smile_thumbup

Offline

 

#11 Jan 21, 2009 12:03 am

adamwichmann
Member
From: Copenhagen, Denmark
Joined: Sep 27, 2007

Re: [MS Extension] WeatherIcon

How do you find the location-code to enter into the configuration file?

I have tried to use this code "DA012" for Copenhagen, Denmark - but it doesn't work - It just makes the phone go into safe mode again! Found the code here: http://www.accuweather.com/world-index- … COPENHAGEN

Offline

 

#12 Jan 21, 2009 12:31 am

ilena
Member
Joined: Jun 9, 2008
Website

Re: [MS Extension] WeatherIcon

Seems to be YahooWeather
http://weather.yahoo.com/

Also change to
      <key>Celsius</key><true/>
for Celsius wink

Last edited by ilena (Jan 21, 2009 12:44 am)

Offline

 

#13 Jan 21, 2009 3:27 am

reaper1
Member
Joined: Jan 21, 2009

Re: [MS Extension] WeatherIcon

Can you help me make it work without winterboard,plz?

I make Livetime works without winterboard. I suspect that Weathericon can run without winterboard either.

Offline

 

#14 Jan 21, 2009 3:37 am

Stimpy5050
Member
From: Washington, DC
Joined: Mar 13, 2008

Re: [MS Extension] WeatherIcon

Thanks everyone for posting the issue with running this without the theme turned on.  I'll have a fix up this morning.

Edit: Sorry about the crashes everyone.  It's fixed in 1.1.  I hope everyone will give it another shot. wink

Last edited by Stimpy5050 (Jan 21, 2009 4:05 am)

Offline

 

#15 Jan 21, 2009 4:39 am

reaper1
Member
Joined: Jan 21, 2009

Re: [MS Extension] WeatherIcon

Almost perfect but now on weather icon I can see the current temperature and the one which is on the default weather icon at the same time.

Could you fix it by changing default icon or something?

Offline

 

#16 Jan 21, 2009 4:42 am

Stimpy5050
Member
From: Washington, DC
Joined: Mar 13, 2008

Re: [MS Extension] WeatherIcon

reaper1 wrote:

Almost perfect but now on weather icon I can see the current temperature and the one which is on the default weather icon at the same time.

Could you fix it by changing default icon or something?

I'm actually purposely leaving that to the theme developers since you'll want the background icon to match the theme.  Most themes offer a blank icon that you can put in your theme for the weather app.

Offline

 

#17 Jan 21, 2009 4:54 am

Silenus
Member
Joined: Dec 21, 2008

Re: [MS Extension] WeatherIcon

Whoah this is amazing.
Didn't know we would see this so fast.

By the way is this faster than weather widgets, because I don't like widgets that eat my memory.

Offline

 

#18 Jan 21, 2009 4:54 am

Pelaez
Member
Joined: Sep 21, 2008
Website

Re: [MS Extension] WeatherIcon

Could you add the option to display only the weather and no images? smile_zipped

And how often does it refresh?

Last edited by Pelaez (Jan 21, 2009 4:56 am)

Offline

 

#19 Jan 21, 2009 4:55 am

reaper1
Member
Joined: Jan 21, 2009

Re: [MS Extension] WeatherIcon

And that's what I'm going to do.
Thanks for piece of good job.

Offline

 

#20 Jan 21, 2009 5:09 am

Stimpy5050
Member
From: Washington, DC
Joined: Mar 13, 2008

Re: [MS Extension] WeatherIcon

Pelaez wrote:

Could you add the option to display only the weather and no images? smile_zipped

And how often does it refresh?

If you create a theme with no images, no images will show.  But until I allow customized text styles, it'll just be the small temp in the bottom.  It refreshes every 30 minutes.  I'm going to make that configurable.

Offline

 

#21 Jan 21, 2009 5:09 am

Thyraz
Member
Joined: Oct 8, 2008

Re: [MS Extension] WeatherIcon

Where can i find the files of the extrension?
I see only the theme in Library/Themes

Want to change Text position if possible.
It needs to be a bit higher to fit Tenuis.
Currently the text overlaps the 3D-Icon Edge.

Ans how often does it refresh?
Can it be altered for people who don't have unlimited bandwidth?

edit: Hahaha, you answered my questions just a few seconds before i asked. smile

Last edited by Thyraz (Jan 21, 2009 5:12 am)

Offline

 

#22 Jan 21, 2009 5:32 am

adamhdm42
Member
From: The City of Neon and Chrome
Joined: May 5, 2007
Website

Re: [MS Extension] WeatherIcon

Request: can you make this (or a variant of it) so that the temperature text is exactly the same font, size, placement, and style as Apple's stock icon? as I said, I'm trying to retain a fairly default-looking springboard, at least on the first page, and want the text to show up in my modified http://img.skitch.com/20090121-t628wacmdc5hjunknidartyw5e.png with the same 'look' as apple's default 73°. A handy, but almost unnoticeably subtle difference.

The differences between the stock icon's and this enhancement's text may seem negligible, but when shrunken down on iPhone's ultra-detailed screen, it stands out rather clearly to an eye that's used to looking at a homescreen full of defaults-- especially that the text isn't centered the same way, and is slightly larger, with a different faint 'shadow' effect.
http://img.skitch.com/20090121-dcr1gwjy5p4akk568xmxr35xry.png

Offline

 

#23 Jan 21, 2009 5:33 am

reaper1
Member
Joined: Jan 21, 2009

Re: [MS Extension] WeatherIcon

Tell me 1 thing.
Does the weather icon shoul change when it's rainy or cloudy ?Or only temperature indicator is changing?

Offline

 

#24 Jan 21, 2009 5:41 am

reaper1
Member
Joined: Jan 21, 2009

Re: [MS Extension] WeatherIcon

Adam,could you send me that modyfied icon to heniek82@gmail.com ?
This is the one I'm looking for.

Offline

 

#25 Jan 21, 2009 6:22 am

Stimpy5050
Member
From: Washington, DC
Joined: Mar 13, 2008

Re: [MS Extension] WeatherIcon

reaper1 wrote:

Tell me 1 thing.
Does the weather icon shoul change when it's rainy or cloudy ?Or only temperature indicator is changing?

Yes, the picture changes based on the current conditions (rainy, cloudy, sunny, etc).

Offline

 

Board footer

[ Generated in 0.105 seconds, 8 queries executed ]