Launch Internet explorer from xna game on WP7

心不动则不痛 提交于 2019-12-10 23:21:01

问题


I'm wondering if I can start Internet Explorer from my XNA game running on Windows Phone 7?

I'd like to redirect my players to my website.

Best regards,


回答1:


I believe that you can still use the WebBrowserTask.

Use it like this:

var wbt = new WebBrowserTask();
wbt.URL = "https://stackoverflow.com/";
wbt.Show();

You'll just need to add a reference to Microsoft.Phone.dll

X-REF: How to launch IE7 from a Windows Phone App?



来源:https://stackoverflow.com/questions/4145836/launch-internet-explorer-from-xna-game-on-wp7

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