locked
GPS location of phone... RRS feed

  • Question

  • Hi All,

    i want to get the location of my mobile phone without the GPS...?

    Is it possible to get the location just using non-GPS phone....?

    Thanks,

    IamHuM

    • Moved by Min Zhu Friday, October 29, 2010 7:07 AM (From:Windows Presentation Foundation (WPF))
    Tuesday, October 26, 2010 3:59 PM

All replies

  • Yes By using either GPS, Wi-Fi or cell phone tower.

     

    Please look @ System.Device.Location 

     

     

    GeoLocationProvider provider = new GeoLocationProvider();
    provider.Start();
    GeoCoordinate coordinate = provider.Location.Coordinate;
    if (coordinate != GeoCoordinate.Unknown)
    {
     //If The location not Identified Use the Wifi or Cell Towe
    }

     

    Please let me know if you Need More info


    Tuesday, October 26, 2010 9:17 PM
  • Hi Reddy,

    Thanks for the reply.

    This code i have to use in any of Windows Mobile device right...?

    Is it possible to get the location for all the other mobile devices?

    Is it mandatory to have GPS enabled phone to get the location and to use this code?

     

    Thanks in advance,

    IamHuM

    Wednesday, October 27, 2010 4:20 AM
  • Hi IamHuM,

    I am moving this thread to Off-topic forum because this question is not technically related to WPF.

    Thank you for your understanding!

    Best regards,

    Min


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, October 29, 2010 7:06 AM