Can't get current location when offline Windows 10 App?

≡放荡痞女 提交于 2019-12-08 09:21:34

问题


I'm trying to find out whether it's possible to get the current location of a Windows 10 device if it's not connected to the internet via Wi-Fi (Wi-Fi) is disabled . I'm aiming this at Windows 10tablets and I don't think they all support GPS. Does anyone know what would be the best way to go about this? Or is it possible at all? when i use Geoposition pos = await geolocator.GetGeopositionAsync(); it returns Exception .

来源:https://stackoverflow.com/questions/33391228/cant-get-current-location-when-offline-windows-10-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!