简体   繁体   English

如何在Windows Phone中在没有GPS的情况下获取位置

[英]How to get location without GPS in Windows Phone

I want to get my device location with internet or wifi. 我想通过互联网或wifi获取设备位置。 not use gps. 不使用GPS。 How ı do this? 我怎么做到的?

By default, the phone will use the best available position method, falling back to GSM if need be. 默认情况下,电话将使用最佳的可用位置方法,如果需要,可使用GSM。

The GeoLocator class has a DesiredAccuracy property, which allows you to upgrade this as well GeoLocator类具有DesiredAccuracy属性,该属性也允许您对其进行升级

geolocator.desiredAccuracy = Windows.Devices.Geolocation.PositionAccuracy.High;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM