开发者

Is it possible to navigate from WP7 app to the Device settings?

I'm developing an LBS application for WP7.

And i wondered, is it possible to check whether the location services is On? Is it possible to navigate from within the app to the OS settings s开发者_如何学Goo the user could turn them on?

Thanks!


You can construct an instance of GetCoordinateWatcher. If its Status == GeoPositionStatux.Disabled then the Location Service is not on.

You can't navigate to the Phone settings, so you will have to give a helpful description of the problem to the user and what they may choose to do about it.


Navigation between applications is currently restricted to "tasks" (Launchers and Choosers), for which settings has no representative.

Interestingly it sits on top of a very generic (and very internal) Uri based navigation system that will hopefully be expanded upon for more inter-application navigation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜