#WP7 GPS# 如何判断GPS设备可用或者用户是否开启了GPS
2012-01-13 14:25
381 查看
我的 吾得地图 提交APPHUB 又被打回来了,原因如下:
1. Disable all active data connections on the device. 2. Launch the application. 3. Select any one of the tiles expect the right bottom one. 4. Select the "flag" (我的位置) icon at the application bar. 5. Observe the application hangs while trying to load.
我靠,有办法判断 #WP7 GPS# GPS设备可用或者用户是否开启了GPS?
GeoCoordinateWatcher.TryStart 方法,解忧愁!~
官方文档 http://msdn.microsoft.com/zh-cn/library/system.device.location.geocoordinatewatcher.trystart.aspx
可用返回True ,注意如果返回True 就开始定位了 相当于成功 Start()!
测试了一下还挺好用!~希望提交能成功!~
吾得地图 APP http://www.windowsphone.com/en-US/apps/b052831e-6b28-440a-bdd6-bae5ae1c99a4
另外说一下微软对定位服务审核非常严格!
你必须确保
1、需要在设置中增加开关,让用户可以设置关闭GPS 即提供定位服务的开启/关闭设置
2、必须提示用户将使用定位功能!~
2.7.2
Comments: There is a privacy policy upon the initial launch of the application, but is not persistent within the application.
这个现在审核尺度有点怪!~我同样的程序香港账户能发布,而大陆账户却提示上面的错误!~
1. Disable all active data connections on the device. 2. Launch the application. 3. Select any one of the tiles expect the right bottom one. 4. Select the "flag" (我的位置) icon at the application bar. 5. Observe the application hangs while trying to load.
我靠,有办法判断 #WP7 GPS# GPS设备可用或者用户是否开启了GPS?
GeoCoordinateWatcher.TryStart 方法,解忧愁!~
官方文档 http://msdn.microsoft.com/zh-cn/library/system.device.location.geocoordinatewatcher.trystart.aspx
可用返回True ,注意如果返回True 就开始定位了 相当于成功 Start()!
测试了一下还挺好用!~希望提交能成功!~
吾得地图 APP http://www.windowsphone.com/en-US/apps/b052831e-6b28-440a-bdd6-bae5ae1c99a4
另外说一下微软对定位服务审核非常严格!
你必须确保
1、需要在设置中增加开关,让用户可以设置关闭GPS 即提供定位服务的开启/关闭设置
2、必须提示用户将使用定位功能!~
2.7.2
Comments: There is a privacy policy upon the initial launch of the application, but is not persistent within the application.
这个现在审核尺度有点怪!~我同样的程序香港账户能发布,而大陆账户却提示上面的错误!~
相关文章推荐
- Android判断GPS是否开启和强制帮用户打开GPS
- Android 判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- 如何判断用户是否为第一次进入app或者是第一次进入指定页面
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Android判断GPS是否开启和强制帮用户打开GPS
- Salesforce中如何判断某用户对于某记录是否有权限
- 判断GPS、网络是否开启
- Android定位入门(2)判断GPS是否开启
- 判断是否为移动浏览器;判断是否支持滑动事件;通过手势来改变图片大小;使用手机GPS定位用户所在的城市;利用浏览器的cookie保存用户名;
- iOS 判断GPS是否开启