[Windows Mobile Development and Hacking General] mminbcn:
Hi,

Seeing different posts that I wanted to collaborate, I tried to "kill several birds by only shotting once".

I just programed an application that updates automatically the weather information on different program, using different sources, and the GPS Ephemeris.

With this program you can:

-Keep updated the weather Icon of Slide2Unlock and update it 3 times a day only downloading once from internet.

-Keep updated the HTC today weather with your local informations, gathering the information from any two servers, i.e. AccuWeather.com and Wetter.com

-Download once every 2 days the GPS Ephemeris information to get a quick GPS fix.

Why wetter.com additionally? wetter.com is proved to be more accurate and it provides more information (for example time of the day forecast).

Why not using the normal HTC today update system? With MMeteo you can specify from which server to download from, and in this way you can download from your own local weather info.

Additionally, it sets the Title with the information from another weather information source, and it is updated 3 times a day with only one download a day from internet.

Why another application to download the Ephemeris? This applications allows to specify from where to download, and if one server is not working (which has happened several times with the default one service.mio-tech.com), it is possible download from another server.

Why everything together? It is just more efficient than having different applications programmed to be started automatically periodically, connect to internet and download. Also it is possible to set the program only to do one thing, (i.e. only updating the GPS Ephemeris data).

Additionally, it emulates a WAP browser in all internet connection. This makes possible to keep everything updated for free using any of the WAP flatrates like o2flat in Germany or o2 flatrate in UK.

Neither the Windows Mobile application to download GPS Ephemeris nor the HTC today plugin work on these flatrates. With MMeteo it is possible to keep everyting updated for free using one flatrate connection.

To download it:

http://www.aldeaglobal.net/mmeteo

I was based on (and I have to congratulate) the following great applications:

HTC Homeplug Weather fix:

http://xdaforums.com/showthread.php?t=319187

HTC Homeplug personalization:

http://xdaforums.com/showthread.php?t=324556

Slide2Unlock: (not S2U2 because at the moment only Slide2Unlock can show Weather Info):

http://xdaforums.com/showthread.php?t=304826

http://xdaforums.com/showthread.php?t=343256

Automated quick GPS:

http://xdaforums.com/showthread.php?t=292178

The program can be personalized only by editing a .ini file.

Detailed, this program does the following (copied from the source):

-For all the internet connections it performs, it emulates exactly the Pocket Internet Explorer, in this way it is compatible to all Wap Flat rates like the o2flat from Germany, or o2 flat rate from UK.

-It sets itself to autostart the following day at updateTime, and also at middayStart and nightStart

(at updateTime (the first run of the day) is when it sets the autostarts for the following day)

-Once every EphemerisDaysToWait it downloads the file from URLephemeris and copies it to FILEephemeris

-Once per day, at updateTime, it updates form internet the files FILEaccuweather from URLaccuweather, and FILEwettercom from URLwettercom

-Once per day, at updateTime, it updates the HTCtoday plugin with information from FILEaccuweather

-Three times per day,at updateTime, at nightStart and at nightStart, it updates the HTCtoday Title with information from the file FILEwettercom

-Three times per day,at updateTime, at nightStart and at nightStart, it also updates the registry registerKey1/registerKey2 with the information taken from the file FILEwettercomToRead

(this is usefull for example to update the weather information from the program Slide2Unlock)

-It updates the registerKey1/registerKey2Userdata with the value registerKey2UserdataValue

-It also sets to autostart the program FILEprogramToStart to start at updateTime before updating from the files

-If you want more information about weather you can open locally with the pocket Internet Explorer the file FILEwettercom, and if you have the icons in the same folder you will also see the prediccions graphically (add the file to favorites or create a shortcut to the FILEwettercom

Marti