locked
how to find in which country the app is opened using GPRS location? RRS feed

  • Question

  • Hello everyone,

    I want to display some information like emergency numbers of  the country by getting gprs locations of countries.

    Please help me.

    Thanks in advance.

    Monday, November 11, 2013 10:08 AM

Answers

All replies

  • Don't you just get the coordinates and map that to a country?


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, November 11, 2013 8:14 PM
    Moderator
  • You can use the GeoLocation API‎  to get the user's location and then use Bing's Locations API to reverse geocode it to find the country.

    --Rob


    Monday, November 11, 2013 8:23 PM
    Moderator