Windows Phone 8 Emulator returning Redmond location only

前端 未结 1 550
情歌与酒
情歌与酒 2021-01-25 11:44

I am using the following code

Geolocator myGeolocator = new Geolocator
{
    DesiredAccuracy = PositionAccuracy.High
};
Geoposition myGeoposition = await myGeolo         


        
相关标签:
1条回答
  • 2021-01-25 12:20

    There is location sensor simulator available for Windows Phone emulator (both 7.5 and 8): How to test apps that use location data for Windows Phone.

    It looks like that:

    Windows Phone Emulator location simulator

    You can set current phone location to anything you want using that tool. IT also allows you to record paths and playing recorded paths.

    To open it click Additional Tools button - the last one within emulator toolbar. It's hovered to yellow on photo below.

    enter image description here

    0 讨论(0)
提交回复
热议问题