[Need Help]New Weather App - Windows Mobile Development and Hacking General

Hi,
I'm a really newbie and I'm writing my own weather-app for the pocketpc in C#. But I've got a little problem:
How do I get the forecast for the next 6 days out of the yahoo-weather feed? For example: http://xml.weather.yahoo.com/forecastrss?p=94704
Is it possible, cause I only see the next 2 days in it?
Take a look at the screenshot. That's what it's all about till now ;D
Thx.
FoneBone

wrong post

i canĀ“t help you, sorry, but just want to say: nice graphics and a free, small standalone fullscreen weather app is a good Idea. All other good apps are to fat for me and today plugins. So let me test it.
And if possible think about different languages (High/Low) and maybe little animation. But be carefull at the momen i use rumballs manilla weather and it uses rwhen unning 10 MB ! (because of the big animated weather pictures)

Your app looks nice.
The reason your app receives only 2 days is because...the link you're using only provides 2 days:
Code:
Yahoo! Weather - Berkeley, CA
Yahoo! Weather for Berkeley, CA
Conditions for Berkeley, CA at 7:53 am PDT
Current Conditions:
Partly Cloudy, 50 F
Forecast:
Sun - Sunny. High: 77 Low: 50
Mon - Partly Cloudy. High: 76 Low: 50
Full Forecast at Yahoo! Weather
(provided by The Weather Channel)
Looking at the available parameters for the RSS feed here: http://developer.yahoo.com/weather/#params I don't see any way of getting more then 2 days.
EDIT: Funny thing, playing with some random default parameters I got a way of listing 5 days, see:
http://xml.weather.yahoo.com/forecastrss?p=94704&d

Nice!
Keep up your good work!

radhoo said:
Your app looks nice.
EDIT: Funny thing, playing with some random default parameters I got a way of listing 5 days, see:
http://xml.weather.yahoo.com/forecastrss?p=94704&d
Click to expand...
Click to collapse
That's cool. Thanks, and if you find a way to show 2 more days I will be happy as can be

The app looks awesome..

Your weather application looks great. I've found it to be a major lack of good weather applications, And I'll use yours for sure if its below 500 kB

WhiteRussianBC said:
Your weather application looks great. I've found it to be a major lack of good weather applications, And I'll use yours for sure if its below 500 kB
Click to expand...
Click to collapse
The app itself is about 23kB till now. All graphics will be loaded, and can be modified.

Me again:
Is there anybody out there, who can tell me, how to extract the diffrent forecasts of the feed to C#?
[SOLVED]

Little update:
now it shows the forecast of the next 4 days. Thanks again to radhoo.
But how do I get the last two days???
Btw: Images need to be reformated...

FoneBone said:
Little update:
now it shows the forecast of the next 4 days. Thanks again to radhoo.
But how do I get the last two days???
Btw: Images need to be reformated...
Click to expand...
Click to collapse
Glad it helped, your app looks even better now, a bit more and it's complete
Forgot to ask you, but what about using a different source for the weather data instead of yahoo's?

radhoo said:
Forgot to ask you, but what about using a different source for the weather data instead of yahoo's?
Click to expand...
Click to collapse
Do you know any rss-feed with 6 (or more) forecast days?
I will take a look around the web

Do you have a cab. to try this ? Thanks this looks very nice.. Thanks T M Z

First I have to finish the alpha version of this app, before anyone can test.

You might try a different site, this gets 8 days...
http://xoap.weather.com/weather/local/USNY0001?cc=*&dayf=8

if nothing helps, rework your graphics and make a bigger 4day forecast

itesla said:
You might try a different site, this gets 8 days...
http://xoap.weather.com/weather/local/USNY0001?cc=*&dayf=8
Click to expand...
Click to collapse
Thanks for this link, but there will be a new problem:
WM5 does not support XML encodings of ISO-8859-1. But maybe someone got a solution how to convert it into UTF-8.

Im not sure if you still need help, but I can give you the code I used to make my flash weather.
Also, if you like, you can re-use my weather flash animations, in case you want your weather graphics to be animated, you can convert them to animated gifs or so...
Its all in here:
http://forum.xda-developers.com/showthread.php?t=403706

twolf said:
Im not sure if you still need help, but I can give you the code I used to make my flash weather.
Also, if you like, you can re-use my weather flash animations, in case you want your weather graphics to be animated, you can convert them to animated gifs or so...
Its all in here:
http://forum.xda-developers.com/showthread.php?t=403706
Click to expand...
Click to collapse
Maybe you can tell me the adress of the accuweather xml feed... that would be great.

Related

Weather Program

Hi everyone,
Just got my Cingular 8525 the other day (upgrade from my Wizard). So far so good but I'm looking for a program that lets me see my local weather when connected with my WIFI. I've searched the web and forums but have only been able to find paid ones.
Are there are free ones out there?
Thanks in advance.
http://ppcwarez.org/phpBB2/viewtopic.php?t=12360&highlight=weatherpanel
This is, in my opinion the best one out there, you can specify radar maps (.jpgs)
for your local area, many different icon sets, very customizable.
Thanks, I'll check it out!
i love this one
http://tonaya.com/products/wtg/index.php
check out "weather to go"... puts a bar on your today screen. its' pretty nice.
gr8hifi said:
check out "weather to go"... puts a bar on your today screen. its' pretty nice.
Click to expand...
Click to collapse
thats what i linked
Doh! didn't check out you're link... looks like the OP has found a winner.
Hrmm.... I'm looking for something that's free if at all possible.
The second one only seems to support cities for the US. I live in Canada so that didn't help. Thanks for your efforts though
EDIT: Weather Watcher seems to be the winner!
weather apps
I don't know any freeware weather app, but for me the bests are from sbsh and spb
The first one lets you customize the weather sources,
The other has a nice graphical interface and lets you to download (and create anmations) images from webcams
greetings to all
Weather Watcher seems to be the only PPC Weather Forecast freeware, and it is really clean and usefull... But no today screen integratin.
Zgembo said:
Weather Watcher seems to be the only PPC Weather Forecast freeware, and it is really clean and usefull... But no today screen integratin.
Click to expand...
Click to collapse
FYI: Mike Singer, the developer, is extremely responsive to requests. WW PPC is not his first priority, but he does answer any and all email.

weather radar app for ppc ::wanted::

Does anyone know of a good animated doppler radar app that i can zoom in close enough to see a few big streets for ppc? Its been raining here alot and using skyfire to look at an interactive doppler map is really a pain.
Ive tried
RadarWatch2 -only one level of zoom.
weatherpanel by mars - radar broken.
memory map radar - cannot install "device incompatible"
dopplermobile - i have no idea whats going on with this app. I was told it was a weather app but you open it and it seems more like a blog reader.
Im running wm6 on a htc touch. All i want is radar thats animated so i can see what direction the rain is moving in. And to be able to zoom close enought to see some major roads. Ive used the search function and havent found anything.
WeatherPanel is the best, I'm sure many will agree. But why do you want to zoom in to see streets with your weather radar? Seems pointless honestly, anyways, when you say it's broken, are you referring to some of the preset maps not working? If your in the US, use the map marked "2", that one works.
TheChampJT said:
WeatherPanel is the best, I'm sure many will agree.
Click to expand...
Click to collapse
Agree!
http://www.weatherpanel.net
Sounds like you must be here where im at...
Weatherpanel works with the radar, but only the 2nd one for the US. I really don't know why. BUT I do wish there was a program like google maps with a radar overlay. aka whats on weather.com
Marsware WeatherPanel radar images DO work...probably just the default URLs that the program uses are now dead links. I have posted a short tutorial (generated by Storyr on WeatherPanel.net) in my Diamond WeatherPanel Theme thread. See post #95 in http://forum.xda-developers.com/showthread.php?t=401781
Using the tutorial you can add any number of radar images to WeatherPanel and auto-update them to your heart's content. Any image that you can link to via a URL can be used by WeatherPanel.
Rumball said:
Marsware WeatherPanel radar images DO work...probably just the default URLs that the program uses are now dead links. I have posted a short tutorial (generated by Storyr on WeatherPanel.net) in my Diamond WeatherPanel Theme thread. See post #95 in http://forum.xda-developers.com/showthread.php?t=401781
Using the tutorial you can add any number of radar images to WeatherPanel and auto-update them to your heart's content. Any image that you can link to via a URL can be used by WeatherPanel.
Click to expand...
Click to collapse
Thank you i will try using weatherpanel again, that was my problem was the weather data could be seen but no image to go with it. Can you zoom in close enough to see a major street?
The reason why i want the zoom function is so i can see exactly where the rain is and which way it is headed. When its zoomed out you really have to just guess weather a certain area like a park is wet or not.
mrhocuspocus said:
Thank you i will try using weatherpanel again, that was my problem was the weather data could be seen but no image to go with it. Can you zoom in close enough to see a major street?
The reason why i want the zoom function is so i can see exactly where the rain is and which way it is headed. When its zoomed out you really have to just guess weather a certain area like a park is wet or not.
Click to expand...
Click to collapse
Every radar image is different, so it is possible, you just need the right one. If your looking for a major street, check to see if there is a traffic cam posted, then you can use that. But radar will update as fast as every 30 min.
TheChampJT said:
Every radar image is different, so it is possible, you just need the right one. If your looking for a major street, check to see if there is a traffic cam posted, then you can use that. But radar will update as fast as every 30 min.
Click to expand...
Click to collapse
im confused. how will the weather app know what image im using so it can put the weather in the right places? or did you mean id have to swap the image with a working one that has the radar already on it?
Also i didnt mean zoom to an actual street level view. I meant to be able to zoom in and out as much as google maps... or close to the level of zoom.
this is what im using now with skyfire http://www.weather.com/weather/map/interactive/?animation=true .. but its a real pain. i dont see a reason why it couldnt be made as an app for ppc. Wishful thinking, i guess.
thanks for the suggestions.
mrhocuspocus said:
im confused. how will the weather app know what image im using so it can put the weather in the right places? or did you mean id have to swap the image with a working one that has the radar already on it?
Also i didnt mean zoom to an actual street level view. I meant to be able to zoom in and out as much as google maps... or close to the level of zoom.
this is what im using now with skyfire http://www.weather.com/weather/map/interactive/?animation=true .. but its a real pain. i dont see a reason why it couldnt be made as an app for ppc. Wishful thinking, i guess.
thanks for the suggestions.
Click to expand...
Click to collapse
You just select the images per city, 8 max. The first will be displayed as default. The image itself, at least the default, is just the image, nothing interactive, so zooming too much will just blur it. But, you can use any custom image URL, try using that image from that site, it may work.
TheChampJT said:
You just select the images per city, 8 max. The first will be displayed as default. The image itself, at least the default, is just the image, nothing interactive, so zooming too much will just blur it. But, you can use any custom image URL, try using that image from that site, it may work.
Click to expand...
Click to collapse
Im sure it wont work... its not an image on that site, its flash. although, that would be pretty impressive if weatherpanel supported flash. Also im looking for something animated. Does weatherpanel support animations?
mrhocuspocus said:
Does weatherpanel support animations?
Click to expand...
Click to collapse
if you mean icons then yes, check weatherpanel on ppcgeeks.com, much more info there
Yes I'm using the stardock animated icons for the small images, with the phatphinger 2 theme. Done by storyr @ ppcgeeks

UPDATED Sep-29-2008 Matrix RLToday Skin Now has weather page.

Hey guys. I've been working on this skin for rltoday and i think it's finally ready to see the light of day. It is meant to be a full replacement for the today screen for device with 240x320 resolution. The skin features 9 configurable buttons. Also has a configuration script.
The buttons are numbered from left to right so row 1 has 1-3 row 2 4-6 and row 3 7-9 the configuration is in the buttom right hand corner and can be used to initially setup the buttons or for modifying them after initial setup. The buttons can also be setup simply by pressing on the button you wish to setup.
The SMS Count lonks to the messangin app and the calls links to the call history. The clock is also linked to the windoes clock&Alarms. I'm working on a weather page for this skin as well but it might be a little while.
For the moment you will need to copy the font file(MLTWNII.ttf) from the rltoday folder to the windows\font folder.
i tired making a cab but the font seemed to get applied to other areas of windows so i'm going with the manual route for now.
So extract the folder in this zip to your rltoday folder and change the skin to matrix.
NOTE:SD version taken down as it turns out(should have looked into it) rltoday can't run from sdcard sorry if i caused anyone any confusion was just covering all bases. thanx to brunoisa10 for helping me realize this fact.
UPDATE
Weather page now added. it uses yahoo weather feeds so go to http://weather.yahoo.com/ and find your city
ex: mine is at http://weather.yahoo.com/Moncton-Canada/CAXX0297 so my weather code would be CAXX0297.
it will ask for this code when you update for the first time. it will also ask if you want C or F as your temp reading and creat a link to the yahoo weather page that can be accessed by tapping on the icon for today's forcast. I have been using it and perfecting the positioning for a few weeks now. all should be perfect. a few icons still need resized they will follow soon. for anyone updating just replace your existing matrix folder with the one in the new archive. then reload the rltoday skin by long tapping a empty spot of today screen.
Let me know what you think.
Version history
1.5
Added weather page!!
Rewrote some parts of the button and config scripts
removed some useless messages
fixed some alingment
Removed all xxx(apart from weather page) from the skin(happens when rl can't find a reg key)
and probably a few other things over the weeks that i forget.
1.0
initial realese
to do:
Landscape support
make icons changeable.
any other suggestions?
thanx to syrguy1969 for the graphical work.
Download mirror(Thanx 2 Napbree):http://www.touch-innovation.com/skindetails-59/ (still has version 1.0 Napbree let me know when you update)http://www.touch-innovation.com/skindetails-59/
Very nice, it looks GREAT on full-screen!!! I am sure you will get a lot of hits on this skin!!
syrguy1969 said:
Very nice, it looks GREAT on full-screen!!! I am sure you will get a lot of hits on this skin!!
Click to expand...
Click to collapse
thanx man i really hope so...either way i will enjoy it but i did it to share it mainly. work progressing on weather page. i'm going to need your help with graphics for it tho if you don't mind helping me again...i will e-mail you with a quick paint drawing of what i envision.
Grondinm said:
thanx man i really hope so...either way i will enjoy it but i did it to share it mainly. work progressing on weather page. i'm going to need your help with graphics for it tho if you don't mind helping me again...i will e-mail you with a quick paint drawing of what i envision.
Click to expand...
Click to collapse
I don't mind at all, I enjoy helping!!
so many views yet so little downloads/feedback...oh well.....work on weather page progressing...going to so some major testing tonight...might be up over the weekend if all goes well...(probably not since i have no graphics for it yet but sooner than i originally thought) would anyone using this be so kind as to leave some sort of feedback...good or bad.
just another quick update in case anyone is actually using/interested in this skin. finally got got the code for the weather page to do what i wanted it to do...just missing graphical part and a little more testing....should have new version soon(couple of weeks life permitting)
while playing around last night i discovered a few issues...expect a new version up over the weekend for sure...even if i can't included weather page yet to fix these bugs(mainly if mortscript is not installed and if you don't use the matrix font)
Hi Grondinm
I saw you were excellent about Mortscript , I see now you are very good about rlToday .
I like these two products too , and BatteryStatus ,now HomeScreen ++ UI .
just a little question : you've posted one zip for rlToday on SD Card , what is your version of rlToday ?
I thought we couldn't install rlToday on SD , it is a marvellous news for me , because I have many xml and graphics and mortscripts ready to work and I had removed rlToday just because of the place on memory
brunoisa10 said:
Hi Grondinm
just a little question : you've posted one zip for rlToday on SD Card , what is your version of rlToday ?
I thought we couldn't install rlToday on SD..
Click to expand...
Click to collapse
well then....i actually just assumed it could be installed on sd....never tried it just wanted to cover all bases...now i see that it can't be installed on sd so i will have to take down the sdcard link...sorry about this guys i don't ever install any apps to sd but like i said wanted to cover all bases incase it could be installed theire....
Great skin
weather page almost ready guys....got icons just gotta get them perfect...keep an eye out for update
new version up. Weather page!!! see first post
Way to go, another example of your strong work!!!!
looking for a little input. should i replace the vmail count with e-mails?
another thought anyone interested in landscape support?
just keeping you guys up 2 date. new version coming verry soon(maybe as sson as this weekend) it's going to have preliminary landscape support(meaning app launcher but not weather page yet) also i'm adding a new script to it a cutomizable intenet launcher. keep an eye out for this one guys.
found bugs in config script...i will try to put out new version thsi weekend but with the holidays i might not have time to finish what i want to do for version2.0. sorry to keep everyone waiting so long have been busy at work. but i think version 2.0 will be worth it. keep an eye out
Hello Everyone i know i have been away from this site for a while but i have been very busy at work with year end stuff at work and holidays. I'm still working on this skin...just letting everyone know i'm still alive and hope to have time to put out new version within the next few weeks.
Wow! Thanks for sharing!

piss me off! diamond weather

why after update my citys dosent show me next days why any solution thx all
aeratos said:
why after update my citys dosent show me next days why any solution thx all
Click to expand...
Click to collapse
Hi aeratos!
Could you be more specific??
You're not very clear in your question...
Thanks dude!
Kind regards
Jeroen
yes.......more info please
aeratos said:
why after update my citys dosent show me next days why any solution thx all
Click to expand...
Click to collapse
we can't help you unless you help us with what rom...radio....ect
I have the same problem. I added my city (Boxmeer, The Netherlands) to my list after installing some cab (Boxmeer isn't in the standard list).
It does display today's weather, but if you tap the 5 day forecast, nothing happens... and the weather tab kind of freezes.
ROM: 1.93.404.1
Radio: 1.00.25.25
The natural question would be: Does it work for any of the other, more major, on the list already, cities? For example, does it work for London?
I would suspect that it's just getting the 5 day forecast from some weather service. If Boxmeer wasn't on the default list then perhaps the weather service doesn't provide any more than one day's worth of weather info for that city.
Maybe there is a slight error with accuweather code, it has to letter perfect. I would try re-entering that in the weather database editor and see what happens. Remember to use the international site for the correct code.

Better weather Tab?

Weather4me vs weather Tab on Manilla/TF3d etc
I love the detail of Weather4me, Humidity, Pressure, wind, UV & visibility
Is there anyway of getting this level of detain in the weather Tab, either by adding to existing tab or replacing tab?
I'd also like to see % chance percipitation. I'm outside all the time. And while its nice to know whether or not rain is predicted, I'd like to know whether its a 10% chance or 90%.
I know with CHT you can change the Application that the Weather goes through. However, I'm not sure if it shows different information and simply the data goes through somewhere else or not? This might be able to help you. Or you can do what my dad does and just make Weather a quicklink on your Home screen.
khoyifish said:
I know with CHT you can change the Application that the Weather goes through. However, I'm not sure if it shows different information and simply the data goes through somewhere else or not? This might be able to help you. Or you can do what my dad does and just make Weather a quicklink on your Home screen.
Click to expand...
Click to collapse
Thanks, but whilst that changes where it gets updates, it doe snot change the info shown.
I think that now that I have changed app, I may be able to mess with registry settings to show more.
Just need to figure out which and what, but I have no skill at this so any pointers for modifying Tabs would be grateful
Solution!
grymcent said:
Weather4me vs weather Tab on Manilla/TF3d etc
I love the detail of Weather4me, Humidity, Pressure, wind, UV & visibility
Is there anyway of getting this level of detain in the weather Tab, either by adding to existing tab or replacing tab?
Click to expand...
Click to collapse
redpoint73 said:
I'd also like to see % chance percipitation. I'm outside all the time. And while its nice to know whether or not rain is predicted, I'd like to know whether its a 10% chance or 90%.
Click to expand...
Click to collapse
Below is a link that is right up your alley. This has been tested and running smoothely on my TP2. I do believe also reading NRG's post on this thread and him giving props to the guy that did this. I think you'll love it. Just read all the instructions on how to set this up. If you have any trouble, just let me know and I'll help you.
http://forum.xda-developers.com/showthread.php?t=707229
WOW! This looks fantastic.
I am so happy, installing now, will let you know results.
Thanks
G
WELL I'LL BE CAPS LOCKED!
That is the most awesome weather program I have ever encountered.
Works awesomely in SecondToday, but when I change the weather app in CHTeditor noting happens. It does not change the weather panel to weatherpool or SecondToday even though it is listed in CHTeditor as SecondToday.
I am using the New Faria ROM (HTC Messaging)
Just used MTPLoader instead of Second Today and it works
YAY!
yeah my normal weather tab sucks :/
Spread the Word
grymcent said:
WOW! This looks fantastic.
I am so happy, installing now, will let you know results.
Thanks
G
Click to expand...
Click to collapse
grymcent said:
WELL I'LL BE CAPS LOCKED!
That is the most awesome weather program I have ever encountered.
Works awesomely in SecondToday, but when I change the weather app in CHTeditor noting happens. It does not change the weather panel to weatherpool or SecondToday even though it is listed in CHTeditor as SecondToday.
I am using the New Faria ROM (HTC Messaging)
Click to expand...
Click to collapse
grymcent said:
Just used MTPLoader instead of Second Today and it works
YAY!
Click to expand...
Click to collapse
Good, I'm really glad you like this. I was impressed instantly myself. HTC should encorporate this into their weather panel.
SiL3nTKiLL said:
yeah my normal weather tab sucks :/
Click to expand...
Click to collapse
Hope you've tried this one out. It rocks!!

Categories

Resources