UWP Windows10開發獲取設備位置(經緯度)

原文: UWP Windows10開發獲取設備位置(經緯度) 1.首先要在UWP項目的Package.appxmanifest文件中配置位置權限,如下圖所示: 2.Package.appxmanifest後選擇第三個選項卡,勾選位置權限(Location) 打開 3.然後創建一個LocationManage類,包括以下代碼: public async static Task<Geoposition
相關文章
相關標籤/搜索