• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

Use Info for EZ-Download

Started by ZapMe1, November 06, 2004, 03:30:02 PM

Previous topic - Next topic

uk_skinner

Quote from: eemonduk_skinner,

Been following this thread with greate interest. This morning I successfully installed EVC4.0 SP4 and SDK 2003SE. I was able to build and run the samples I found at http://www.microsoft.com/downloads/details.aspx?familyid=6a34dc83-c3ce-4a4c-ab83-491fd5729551&displaylang=en

I would like to now try to use the Traffic Report from My MSN homepage like you did with Radar. Would you be willing to share your aforementioned projct with me?

Thanks in advance.

Sure no problem..
Can you send me an email to uk_skinner@comcast.net and I will send you a test project?  
That is intersting for traffic report..  Do you have a link that I can take a look and what kind of information you try to extract?  Wow, you must be very good in order to drive in Boston.... :shock:

uk_skinner

eemond:

 I just went to my MSN page.  This is cool!!! Hay you open a new feature for TP, download the traffic report!!!!!

Is this the image you want to download?  I will think to see is there anyway to get the "description"... :wink:

ZapMe1

Ok..   I think I may be getting somewhere !!   I tried again to build "Hello World", and got the same error message saying that the file was not compatable with 80486 CPU..   But....

I continued anyway...   The file (called test1.exe) was built and compiled, and placed in the start menu of the emulator..   When I tried to run it from there, I got a message on the emulator which said "test1.exe is not a valid pocket pc application" !!

But...   But...   I then coppied the test1.exe to my (real) ppc, and...
It worked !!!  :shock:   "Hello World"  :dance:

@UK_Skinner,  I again tried to do the same process with the .vcw file you sent me, but I still couldn't get that to work  :(

Do you know where I can get some code samples (for EVC 3.0, ppc2002), so I can better learn this ??

Thanks !!
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

uk_skinner

Quote from: ZapMe1Ok..   I think I may be getting somewhere !!   I tried again to build "Hello World", and got the same error message saying that the file was not compatable with 80486 CPU..   But....

I continued anyway...   The file (called test1.exe) was built and compiled, and placed in the start menu of the emulator..   When I tried to run it from there, I got a message on the emulator which said "test1.exe is not a valid pocket pc application" !!

But...   But...   I then coppied the test1.exe to my (real) ppc, and...
It worked !!!  :shock:   "Hello World"  :dance:

@UK_Skinner,  I again tried to do the same process with the .vcw file you sent me, but I still couldn't get that to work  :(

Do you know where I can get some code samples (for EVC 3.0, ppc2002), so I can better learn this ??

Thanks !!


Try this site

http://www.codeproject.com/ce

It is great one, I believed and I learned a lot from there.

The have free projects can be downloaded..

ZapMe1

Cool !!  8)   Thanks again UK !!
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

eemond

Very early prototype of an RSS Traffic Report Solution. Try adding this to your TodayPlus RSS Links:

http://24.34.11.59/RSS20.php

Currently all data is hardcoded for Boston; uses the Traffic Report Content of My MSN; city selection (limited to the dropdown) to follow.

eemond

ZapMe1,

How are your builds going? PM me if you'd like to talk through this on the phone.

uk_skinner

Quote from: eemondVery early prototype of an RSS Traffic Report Solution. Try adding this to your TodayPlus RSS Links:

http://24.34.11.59/RSS20.php

Currently all data is hardcoded for Boston; uses the Traffic Report Content of My MSN; city selection (limited to the dropdown) to follow.

emmond:

Wow, this is what I am trying to do... :approve:  :clap:

Combine with the image downloading, right now you can display image and RSS together.....
Cool, when are you going to show us your work? And you need to teach me how to get RSS work...  :pray:


Edit:  Got an error message when I clicked the link.

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://24.34.11.59/RSS20.php'. Line 13, Position 71

 <link>http://autos.msn.com/everyday/trafficreport.aspx?metro=BOS&src=mymsn</link>
----------------------------------------------------------------------^

eemond

I get the same thing when I double click, however if you look at the generated source, it looks OK, and when you add to your TodayPlus RSS Links, it work OK (for a prototype).

It will take a few days to get the PHP Script going, will share with you then.

uk_skinner

Quote from: eemondI get the same thing when I double click, however if you look at the generated source, it looks OK, and when you add to your TodayPlus RSS Links, it work OK (for a prototype).

It will take a few days to get the PHP Script going, will share with you then.

Yes, it worked like charm...And combine with the image downloading..

uk_skinner

eemond:

 I noticed that the url link for Boston traffic report image is switched beween BOS_1.gif and BOS_2.gif.  Looks like every 2-3 minutes, the image is updated.  So even you get the wrong one, it probably will not too far off.

http://fp.images.autos.msn.com/images/mymsn/BOS_2.gif

ZapMe1

@UK_Skinner
@eemond

I think I'm finally getting somewhere !!   I found out that the error message I was getting that said that the 80486 CPU was not compatable, was caused only when I tried to use the emulator, but if I chose to go directly to the ppc (real), then it worked !! :D
It built the file, compiled it, and downloaded to my ppc...   but...  I haven't gotten anything but "hello world" to actually work !!

@UK_Skinner,
If I open the .vcw file you sent me with notepad, should I copy the text, and paste it into a "new text" form within EVC, then build ??
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

eemond

Don't know if this is the right place for this discussion, but this is where it began. Here's a Traffic Report RSS Feed for TodayPlus. This input:

http://autos.msn.com/everyday/trafficreport.aspx?metro=BOS&src=mymsn

is used to generate this XML:

http://24.34.11.59/traffic_rss.php?metro1=BOS

which can be fed into TodayPlus RSS Feeds.

metro1= is limited to the My MSN, Traffic Report Content, View Traffic For: Drop Down.

Try metro1=COL and checkout the Traffic Report for Columbus, OH

uk_skinner

Quote from: eemondDon't know if this is the right place for this discussion, but this is where it began. Here's a Traffic Report RSS Feed for TodayPlus. This input:

http://autos.msn.com/everyday/trafficreport.aspx?metro=BOS&src=mymsn

is used to generate this XML:

http://24.34.11.59/traffic_rss.php?metro1=BOS

which can be fed into TodayPlus RSS Feeds.

metro1= is limited to the My MSN, Traffic Report Content, View Traffic For: Drop Down.

Try metro1=COL and checkout the Traffic Report for Columbus, OH


:approve:
It works!!!  I used metro1=WDC!!

ZapMe1

@eemond

First, I'd like to say thanks for your help !!   :approve:   I understand Much more about EVC++ then I did before today !!
I haven't yet had a chance to download and install v.4.0, but I did try to use your info, and downloaded the source code for the "font viewer" project that I told you about..  I was able to load it into EVC++, build & compile, and then download it into my device...   and...
"It worked like a charm"   :dance:
Tomorrow I'll install v.4.0, and its SDK, and try it again !!   My next task (challenge) is to build an .exe of my own !!   :shock:  :!:
Thanks again......


Back to the current topic...  :arrow:   I really like the traffic report feed that you posted above !!   I tried it on my device, and it worked for Columbus, but I don't get a map image...  Just Titles and description !!
Do I need something different in the code in my skin ??   At the web site the map shows just fine !!   :?:
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"