SORRY, am no more active on this Topic cause Device does no more exist.
Please use at your own Risk. But don't expect answers any more.
Weather icon showing Temperature and Weathercondition at selectable iFonz-Icon plus 5 Day forecast, new weathericons
(Only iFonz 1.1.2 not iFonz 2 by now)
Hi,
the Mortscript, I've done (based on Infos of this thread), is a plugin that replaces an IFonz icon by a weathericon(showing actual weather) and shows temerature as Icon name. In the new version, pressing the weathericon will now show a five day forecast(see screenshots at the end of post). I hope, you'll like it.
The ifonzWeather.ZIP now contains two Mortscripts iFonzWeather.mscr (sceduled download of weatherdata and refresh iFonzscreen) and the new iFonzForecast.mscr(when started expand from 1 to 5 weathericons for 5 day forecast and restore original icons when started again.)
What is new/has changed:
Removed Bug wrong Icon is shown, when online source for weatherdata is available, but Page says no actual data available(weathercode 3200, not 0, not na)
The script can now autoconnect to gsm if no dataconnection is available and if wanted!
Added iFonzForecast.mscr to be started by weathericon. This will give you 5day Forecast, shown as iFonzIcons.
What do you need/have to do:
iFonz 1.1.2(Works with older versions too, but I got reports, that with V0.99 is waits with iconupdate till newstart of iFonz.)
Download and install the Mortscript-4.1PPC.cab
Download my Mortscripts iFonzWeather.zip (see end of post)
S2U2 has Weathericons included, but you can also download the ones i've created of them(complete set but not perfect). Better use blueaxe's icons(see end of post)
Modify scripts with texteditor to fit your needs(at least change your location/descriped further down).
Start it manually by doubleclicking on script to start or put a lnk to windows\autostart(startup)\
What does the script(iFonzWeather.mscr) do:
It downloads the actual weathercondition and the forecast for five days, of a place you select, from Yahoo.weather.com and saves them. It uses the internetconnection available(I've testet via wlan and activesync)
It canges the iFonz icon (you can select in the script) to show the picture of the actual weatherconditions.
it changes iconname shown, to a combination of actual temp and forecast(highes and lowest temp).
It lets you open the 5day forecast if selected or altenatively sets the icon, to start the Browser, you've chosen in the mortscript, and opens the yahoo page showing further weatherinformation to your selectet place. You can also disable this if you like to start an other app.
It will retry to get weater every hour(but you can change the timeintervall to any time in mortscript).
If connection is not available, it will try to use saved weatherdata for showing actual day and the forecast.
Needed changes in script(iFonzWeather.mscr) Simply change with texteditor
The mortscript should work without any changes on english devices. It is by default set, to use the weatherpictures of s2U2, if S2U2 is installed in "\program files\s2u2\gfx\weather\". Pressing the Icon will start iFonzForecast.mscr(change icons to show 5 day forecast). It will change the 4th Icon on the first page to be the main weathericonon the first page(can be changed)
Here you see the settings you can change in an texteditor
# USER SETTINGS, CHANGE AS DESIRED
#
# your location (see http://weather.yahoo.com/ on finding your location)
location="GMXX0115"
# desired units for temp, f or c
units="c"
# Set GSMConnection to your internetconnection("The Internet","Internet","My ISP"..see settings/connections ...)
# If you only want to use available connections set GSMConnection=""
GSMConnection="The Internet"
#
# how often to try and get the weather
delayHours = 1
delayMinutes = 0
#
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Want iFonz to open Yahooweather for your destination, when icon pressed ? set iFonzOpenYahoo=2
# Want iFonz to show Weatherforecast with Icons ? set iFonzOpenYahoo=2
iFonzOpenYahoo=2
iFonzBrowser = "\windows\iexplore.exe"
# Choose Icon to change
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 3
ifonzPageNumber = 1
Click to expand...
Click to collapse
Set location to your locationcode.For finding your locationcode, enter http://weather.yahoo.com/ and click trough the countries and the cities untill you find your place.
Then you'll see your needed location in the adressfield of your browser.
"http://weather.yahoo.com/Rosenheim-Germany/GMXX0115/forecast.html"
You want fahrenheit, not centigrade? Change units from c to f
You dont want the script to autoconnect to gsm? SetGSMConnection=""
You want to reload data in shorter or longer Timeintervalls? Change delayHours = 1 and delayMinutes = 0 to your needs
You want other Pix? Change iFonzPixPath to the folder containing the pictures. The mortscript uses 0.png up to 47.png and nb.png for weather not available. So check if NA-Picture is called 0.png or NA.png and eventually change iFonzWNA from "0" from to "na"
Choose pressing Weathericon, (2)to open 5day-forecast inside iFonz(offline), (1) to open online Webpage with further data or (0) select any app to open, manually in iFonz iconsettings, by setting iFonzOpenYahoo =2, 1 or 0
You want iFonz to start an other browser(please Internetexplorer is a shame), for showing further weather information ? Set iFonzBrowser to an other browser.
You want an other Icon to be changed? Set iFonzBottomIcon = True (0..X), if you want to change an icon in bottombar, set if false if you want to change a normal icon. ifonzIconNumber is the positionnumber of the icon counted from left to right,up to down.First Icon has Nr 0. For the bottomicons start counting with the first buttombaricon. Set ifonzPageNumber(1..X) to the page the icon should be(not nescessairy for BottomIcons
What does the script(iFonzForecastdo.mscr) do:
It changes 4 selectable Icons to show Forecast for day 2, 3, 4 and 5(Day 1 is shown by ifonzWeather.mscr). It saves the original Icons with all data, and restores them when script is started again. By setting iFonzOpenYahoo=2 in iFonzweather.mscr it will be started by pressing the Mainicon or any of the other forecasticons
What you can change (works without changes)in script(iFonzForecast.mscr) :
# iFonz variables to change
# -------------------------
# iFonzPixPath(path to icons): to use s2u2 icons set "\program files\s2u2\gfx\weather\"
iFonzPixPath = "\program files\s2u2\gfx\weather\"
# iFonzWNA(WeatherPic if not available: to use s2u2icons set "0" else "na"
iFonzWNA = "0"
# Choose first Icon to use out of four to show forecast
# iFonzBottomIcon(True = BottonIcon/False = NormalIcon)
# ifonzIconNumber(0..X)
# ifonzPageNumber(1..X)not needed if bottomicon
iFonzBottomIcon = false
ifonzIconNumber = 4
ifonzPageNumber = 1
Click to expand...
Click to collapse
iFonzPixPath and iFonzWNA should get the same values as in iFonzWeather.mscr.
Selecting the first of the 4 replaced icons, works like in FonzWeather.mscr. The values should not be the same like in iFonzWeather.mscr because you would otherwise only see Day 2-5, because you replaced the Mainweathericon, showing actual day.
Click here to see bluemetalaxe's new realizelook weathericons. Find Icons in higher resolution and diffrent optics. These Icons are the base for the Set posted below. TNX bluemetalaxe
To use this Icons set iFonzWNA = "0"
So, this was a long Post. Sounds difficult, but is indeed quite easy. I hope you like it.
Any feedback by now ??? Wishes ??? Problems ??? Questions ??? Chage requests ???
Thanks Sid-Shrunk, it was the missed part on iFonz
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Hi bluemetalaxe,
bluemetalaxe said:
i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background
Click to expand...
Click to collapse
the preview icons look realy good. Especially playing with night and day should be interesting.
By the way, if you plan to do more pix, do you already have a table with the conditions belonging to the weathercodes?
yes, i think the codes/numbers are correct you see 36,39 and 33 from left to right, but please check it.
EDIT: Okay i checked it with your Icons, seems its okay. The other question is the size, i prefer 52 but i think the most like to use 48 Pixel for qvga. For the weather graphics itself i use Rumball`s Set (or the Set Rumball uses for manila weather panel, who knows ?), but i think i PM him first before doing this.
I did not mean thy are wrong, I just thought you could be interested in the link to YahooWeather that shows the exact description of condition to a code.
There you can see the exact diffrences between a bit/normal/heavy rain ....
For the pictures I've done I've just changed the icons coming with S2U2, and compared the missing icons with other available sets.
I forgot: For the size I think it would be best if it fits to the rest of your iconset, but that's you descision. I use 48, but I use a frame for every icon I use, so I had to modify anyway.
it`s okay the yahoo description and the graphics are right: 41 (heavy snow) and 37: So i think i will post a set for your application on the next few days on my icons thread.. (Just thinking about a cleaner background like on the second icon). Thanks for this app man !
Sounds great man, I like the smooth look of you new iconset.
The backgroundproblem in iFonz with transparency, is the Reason, why I modified all my icons with a metalic border So I can use any background now.
bluemetalaxe said:
Excellent work, i played arround a little bit with some weather Icons, if anyone likes that how about this with Day and Night Background (just a really first test in 96x96, on the fake screenshot in 52x52):
Click to expand...
Click to collapse
These are really nice icons and they go nicely with your realize icons which i use, i like that and i am interested
thank you claus
@sid: yes bmps and transparency, always a Problem on ppcs, i for myself went back to a black background, now my Icons look smooth. okay i post here again when the set is ready with a link (weekend)
Bluemetalmax,
Weather icons look up to your usual high standard. Would love a set in VGA. Is this possible?
blue those weather icons would be sweet.
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Hey i would use this as it looks great, but sadly, ifonz is too slow for me on my diamond, too jumpy, and the settings screen is jerky and slow. Its just not a pleasant experiance using ifonz.
Of course, i cannot "do better" so, just my own opinion.
okay ifonz setting screen is slow as hell, but who cares, its just for the Settings.
But i don`t think that ifonz is slow, ecspecially the new Version is really fast, and i´m using just a Polaris.
You should wait about one Minute when starting ifionz the first time then it runnes really smooth.
Anyway, my weathericons for SIDs App are ready (96 Pixel VGA PNGs). Now i must do ifonz icons out of this.
i made four different backgounds (Day, Day-snow,Night, Night-Snow)
Hi bluemetalaxe
bluemetalaxe said:
icons, also in vga will come.
@Sid: i can't get this to run. installed mortscript, modified your file but i get allways no data (also not with Rosenheim) It just shows the correct s2u2 icon(NA) ?
i set the update now to 2 minutes but it seems it doesen't connect to internet at all.
Click to expand...
Click to collapse
Sorry I answer so late,
I will look for your problem when im Home this afternon. Also I will post a small description of the errormanagement of the script.
launching app
Hi! this is a great application, it is all I missed on iFonz. It would be great if one could launch the weather panel by bluemetalaxe (http://forum.xda-developers.com/showthread.php?t=436656&page=6). I am a newbie and I dunno how to do it. Any suggestions?
Mart,
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Errorhandling of iFonzWeather
This is a short info about errormanagement of IFonzweather.
When started it checks, if internetconnection is available(Tries if google.com can be reached). If not available it waits 10 seconds and tries again(if connection is available, but breaking while trying to download, it will resart after the setup time).
1. Possibility(Everythig works):
-> Correct actual weathericon will be shown, Temperatures will be shown like "9°(12°/7°)" and forecast will be saved in registry for 5 Days (HKCU\Software\Sid-Shrunk\Weather\...).
2. Possibility(Data is downloaded but theres an error in the Data)...
2a. ...and there is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "Err(12°/7°)" (Error but forecast available).
2b. ...and there is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "DataErr"(Error and forecast not available).
3 Possibility(Connection could not be established) ...
2a. ...and here is a forecast saved in registry for actual Day:
-> Icon will be changed to Icon of saved forcast for actual day. Temp will be shown like "N/A(12°/7°)" (no Connection but forecast available).
2b. ...and here is no forecast saved in registry for actual Day:
-> Icon NA will be shown. Temp will be shown like "NoData"(Error and forecast not available).
As I've no dataflatrate, I've deactivated dataconnection via Provider and only use wlan or connection via activesync.
This tool uses available connections, so I think it may not connect to your provider on it's own. But it should use the connection if you've activated it(I've not checked this). May be some of you could post your experiences with this.
@bluemetalaxe: Does it work by now ? If not, what connections have you tried, what language does your device use? If not perhaps you could send me a copy of your modified mort.
PS: The pic look fantastic
MartCronos said:
PS: BTW the weather icons do not update if you have a non-English device and you put them in a non-root directory. I tried with S2U2 icons and WEATHERpix putting them on \Archivos de programa\ and didn't work, putting them on \WEATHERpix fixed things.
Click to expand...
Click to collapse
Hi MartCronos,
I use an non english device too, and it works for me. Have you changed iFonzPixPath = "\program files\s2u2\gfx\weather\" to the correct and full path ?
for me it was iFonzPixPath = "\programme\s2u2\gfx\weather\"
for you it should be iFonzPixPath = "\Archivos de programa\s2u2\gfx\weather\" (if this is how programs folder is called on your device)
On ssj5trunks' (the developer of Androkkid) request, I 'm opening a thread for widget for this great program.
The Androkkid comes with these widgets:
AnalogClock
Battery: Widget without text for QVGA is here: http://forum.xda-developers.com/showpost.php?p=4879711&postcount=126
DigitalClock
HeroClock
Line Operator
NextAppointment
PhotoFrame
wmdirk has supplied a widget library to facilitate the development of widgets, version 1.4, Dec. 26, 2009: http://sites.google.com/site/wmdsoft/wmd-androkkid-lib
After talking to wmdirk (and because I no longer use Androkkid), I've decided to change this first post. wmdirk's widgets will not be updated here but on his webpage http://sites.google.com/site/wmdsoft/home. He seems to be the only one currently making widgets for Androkkid, and he is very successful in doing so. But some of the widgets are not free, and I didn't want to mix the free and the commercially available in one list. However, this thread will still be used by wmdirk to answer questions regarding his widgets, and to announce new ones.
Other widgets that have to be installed separately (I'll try to keep this updated and with the newest first):
This is a list of wmdirk's widgets: some of them free http://sites.google.com/site/wmdsoft/home
WMD-NextAppointments
WMD-Clock+
WMD-RegInfo
WMD-Clock
WMD-TaskManager
WMD-WifiToggle
WMD-BTToggle
WMD-Profile
WMD-Calculator
WMD-Agenda
WMD-Tasks
Other widgets: all free
RSS Script / Widget by qkzoo Jan. 10, 2010: Not really a widget, but a Mortscript that can be used in conjunction with WMD's RegInfo widget. It downloads the XML from an RSS feed, strips the relevent data out of it, and plugs it into your registry.
http://forum.xda-developers.com/showpost.php?p=5342591&postcount=563
Weather radar script by qkzoo, Dec. 2, 2009: Displays animated radar from Accuweather http://forum.xda-developers.com/showpost.php?p=5061832&postcount=346
hgWeather widget 0.4 by ajige updated Nov. 23, 2009: Shows weather for up to 4 days or icon only, very configurable. http://sites.google.com/site/ajiget/programs/widgets-for-androkkid
Bluetooth widget by fherfort Updated Oct. 16, 2009
http://forum.xda-developers.com/showpost.php?p=4749085&postcount=28
GORAPSWeather Widget by goraps Oct. 15, 2009: Shows weather for today with detailed info and forecast for 4 days.
http://forum.xda-developers.com/showpost.php?p=4744679&postcount=20
hgBattery widget by ajige Oct. 6, 2009: It's rather simple, but it shows the % in text and color, and whether it's charging. Clicking on it takes you to the power settings. http://forum.xda-developers.com/showpost.php?p=4879711&postcount=126
hgTasksToday by ajige Oct. 1, 2009:will show up to 7 outlook tasks that are due today. Clicking on the widget will take you to the tasks program. The widget will redraw every 10 min. http://forum.xda-developers.com/showpost.php?p=4917995&postcount=186
Installing:
Unzip the files to the Widget directory and Androkkid will automatically detect the widgets. Then holding on the desktop, click add, then widget, then select it, and ok and they should show up on the desktop.
Skinning:
The widgets can be skinned by changing the background image - bg.png in the gfx directory. However, it's important to keep the same size as the original, otherwise the font won't show well.
Perhaps I´m too stupid, but how do i install these widgets?
I had a look at the androkkid discussion, but don´t find a solution.....
Thanks for the help.
Regards
musikusbawue said:
Perhaps I´m too stupid, but how do i install these widgets?
I had a look at the androkkid discussion, but don´t find a solution.....
Thanks for the help.
Regards
Click to expand...
Click to collapse
No, you are not stupid, I'm the one who was sloppy and forgot instructions.
You should just unzip the files to the Widget directory and Androkkid will automatically detect it. Then holding on the desktop, click add, then widget, then select it, and ok.
The weather widget has a settings menu you can reach by clicking in the top half. Not all the settings have an effect yet. Clicking lower on the widget, should refresh, but I'm not sure that's working yet. Also I forgot to delete a debug message. Will try and upload a new version today.
Wether widget updated in first post (messages used for debug purposes have been removed).
Also updated information re installation and skinning.
+1 I look forward to see some more widgets. Your hard work is apperciated. thanks
B-Real206 said:
+1 I look forward to see some more widgets. Your hard work is apperciated. thanks
Click to expand...
Click to collapse
yes, i agree! I am really looking forward to the buildout of a library of widgets. good job!
Here is a Weaher Widget I have been working on. I have beased it on Titanium Weather. I shoukd have it ready in a couple of days for some testing. It depends on how my time permits. I plan on having the next 4 days forecast in the empty area in the middle.
Very nice! Cant wait to preview.
goraps said:
Here is a Weaher Widget I have been working on. I have beased it on Titanium Weather. I shoukd have it ready in a couple of days for some testing. It depends on how my time permits. I plan on having the next 4 days forecast in the empty area in the middle.
Click to expand...
Click to collapse
Looks great - so much better than mine! And great that more people are making widgets!
looking forward to your weather widget goraps
Another preview.
Maybe ready in a few days. Just got to work on the update process.
Good job on the widgets!
Having problems finding information on how the widget interfaces with Androkkid and need some example code. A simple "Hello World" widget would be useful and would provide a springboard for creation of new widgets.
Failing that some source code of any developed widget to date.
Edit: Scratch that, just noticed some widget source code on the main site
Looking for the Weather code for London England and Bedford England which site are they on as I put in the Weather.com code for it and it crashed Androkkid
edit is it UKXX0014 for bedford and UKXX0085 for London ??
buffystar said:
Looking for the Weather code for London England and Bedford England which site are they on as I put in the Weather.com code for it and it crashed Androkkid
edit is it UKXX0014 for bedford and UKXX0085 for London ??
Click to expand...
Click to collapse
I'll try to have a new version of the weather widget with the source code later today, and I'll have some more error testing to try and prevent crashes.
It is important though to be connected to the internet when installing the weather widget or changing the location.
In order to test the weather codes, you can put the following in your browser's adress bar:
http://weather.yahooapis.com/forecastrss?p=UKXX0085
and it should give you the same weather forecast I'm using in the widget
hgWeather updated with source.
The weather is updated from the Yahoo RSS weather feed.
It will show the current and next day's forecast. You can add several widgets to use for several cities.
Installing:
It is important though to be connected to the internet when installing the weather widget or changing the location.
Unzip the files to the Widget directory and Androkkid will automatically detect the widget. Then holding on the desktop, click add, then widget, then select it, and ok and they should show up on the desktop.
In order to test the weather codes, you can put the following in your browser's adress bar (exchange UKXX0085 for your city code):
http://weather.yahooapis.com/forecastrss?p=UKXX0085
and it should give you the same weather forecast I'm using in the widget
Skinning:
Bacground (bg.bmp) can be changed as long as the size is the same.
Or the background can be transparent.
Font color and size can be changed.
Weather icons can be changed as long as the naming convention is the same. The included icons comes from http://forum.xda-developers.com/showthread.php?t=354111&page=180, post 1798
Additionally icons can be found here: http://pixel.dnsalias.net/weatherpanel/wiki/index.php/Weather_Icons
Clicking in the upper half will take you to the settings.
Clicking in the lower half will update the weather.
Most of the weather code comes from: http://www.cjcraft.com/blog/2008/06/19/30DaysOfNETWindowsMobileApplicationsDay18MobileWeather.aspx
Source:
It would be great if other people could improve on this widget.
I used the free developer tool Sharp Develop to compile the widget.
Just tried with weather code UKXX1730 it has updated and allows me to add to the page but i am only seeing the bottom half of the image you have provided plus if i change the temp to c instead of f it still shows farenheit temperature.
im not sure how others feel but ideally i would like to add a weather widget to my homescreen along with the clock and a row of priority icons or have a small icon sized image which when clicked on brings up full details
alecoddlyiv said:
Just tried with weather code UKXX1730 it has updated and allows me to add to the page but i am only seeing the bottom half of the image you have provided plus if i change the temp to c instead of f it still shows farenheit temperature.
Click to expand...
Click to collapse
Are you using the version posted yesterday? Because with the latest version, when I change from f to c or opposite, it changes temperature. But you need to be connected to the internet when changing from temperature unit.
When you say only the bottom shows, what parts are showing? City? Current weather? Next day's forecast?
Sometimes you have to click several times before it properly updates from the internet.
im not sure how others feel but ideally i would like to add a weather widget to my homescreen along with the clock and a row of priority icons or have a small icon sized image which when clicked on brings up full details
Click to expand...
Click to collapse
Yes, that has been my goal too, but I'm having some problems with the forecast rss, so I'm giving it a rest for now. But the code is there so maybe someone else wants to give it a try? I would also like to have better support for different cities.
Otherwise, you could use the transparent version, set the color of the code to the same as the background, and then you would only see the icons.
If i have time i create the top bar widget to add TopBar in Android with widget and not in Androkkid directly.
Or if anyone want create it i think this is a good widget for all.
Bye
P.S.
I look for the problem of Menu for contact.
I test it in my diamond and when i try it work, i retest it.
ssj5trunks said:
If i have time i create the top bar widget to add TopBar in Android with widget and not in Androkkid directly.
Or if anyone want create it i think this is a good widget for all.
Bye
P.S.
I look for the problem of Menu for contact.
I test it in my diamond and when i try it work, i retest it.
Click to expand...
Click to collapse
Yes please do this would be cool!!!
OK. So I have finished the initial release of GORAPSWeather Widget for Androkkid. This is my first Androkkid Widget so please bare with me.
First all the credit to ssj5trunks for such a great app and the source code to the Hero Clock widget which I used as the code base for this widget.
Second thanks to Showaco for his Titanium Weather which I used as the weather base for this widget.
Note: This widget requires Mortscript.
Installation and Setup Instructions
1) Downlad and unpack GORAPSWeather.zip
2) Open GorapsWeather.mscr with a text editor and make the appropriate changes to the two variables: location and units.
- Change location to the accuweather.com location code for your location.
If you need to find your code go to www.accuweather.com/m and search for your city. Then you will see the location code in the URL. It will look something like NAM|CA|ON|MARKHAM.
- Change units to C or F.
3) Save your edited script.
4) Copy the GORAPSWeather folder to the Androkkid widgets folder on your phone.
5) Execute the click on the GorapsWeather.mscr in a file explorer to initialize the values. If you don't do this and add the widget it will crash Androkkid.
6) Add the widget to your Androkkid desktop. Clicking on the widget will update the weather data.
I hope you like it.