Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Calling the TerraService Web Service - Day 4 - Part 7

Download

Right click “Save as…”

In this video Bob uses the Day 3 example to call the TerraService passing the coordinates from the phone's GPS to the web service in order to retrieve the city, state, and country. These values are saved in a private member variable of the class, which can be used when the note is saved.

Download the source code in c#

Download the source code in VB.Net

Follow the Discussion

  • VinceVince

    Hi! I'm still stuck on that one. I've got those nasty warnings and errors. Does anyone have a solution? thanks

  • VinceVince

    Sorry, I got the solution : just don't launch VS with admin rights and it works fine!

  • I always get stuck on this. I always get those errors, and the one time that I didn't, I was unable to properly get my location.

    I live in London Canada, and when I got to msrmaps.com, only the states are green. Does this mean that the terra service will not be able to tell me where I am in Canada? If not, is there another service that will work in Canada?

  • I got it to work. I needed to have

    myWatcher = new GeoCoordinateWatcher(GeoPositionAccuracy.High); 
    myWatcher.MovementThreshold = 20; 

  • and myWatcher.Start();

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.