问题
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