Welcome! Log In Create A New Profile

Advanced

Internetdownloads - Source examples?

Posted by ThErZA_ 
Internetdownloads - Source examples?
April 19, 2009 06:36PM
Hello,

I plan to make a homebrewed weatherchannel with some new ideas. An idea is to download a .png or .jpg file from the internet to show this weathercard on wii. Can anyone help me to do this? Already tried a source found in internet (if I find the link, I'l post it), but I didn't work.It download a file but has http headerinformation. But I want to download the .png or .jpg file without any http header info - only the picture.

Thank you very much for information....

An other idea ist to load webcam pictures from the net (dreaming of spanish white sand strand on wii :)))



Edited 1 time(s). Last edit at 04/19/2009 09:47PM by ThErZA_.
Re: Internetdownloads - Source examples?
April 20, 2009 10:09PM
ummm... you need http to download any file via the HTTP protocol, if you have a look at WiiEarth (source) there should be a DNS.c, DNS.h, HTTP.c and HTTP.h. Have a look at the apps source and see how it uses the libs to download pngs from google maps and then use that to download what you want.

IMHO i think that HBC should be extendable where it is more similar to iGoogle where widgets can be placed such as app launchers and then built in apps which run with HBC, this would probably add logic to some apps such as your app and others (game launcher app, not saying its a bad app just bad use)
Re: Internetdownloads - Source examples?
April 21, 2009 08:14AM
Here's a simple example you could look at, I was planning on writing a web browser but I got too busy with schoolwork. I would also recommend looking at the WiiEarth or other fully functional applications' HTTP code to get a better picture of what is necessary, and also read up on HTTP GET syntax and status codes, maybe RFC 1945 or the one for HTTP 1.1 although you probably don't need to know that much just to download a picture.
Sorry, only registered users may post in this forum.

Click here to login