The following code works sometimes and most of the time not:
WebBrowserTask wbt = new WebBrowserTask();
wbt.URL = url;
wbt.Show();
On both the emulator and a real device (HTC HD7). It will bring up the web browser (IE) but it will not put in the url or navigate to it.
What gives?
Every time you execute the code, it brings up a new tab. So, if you look @ your tabs, you will see the one with your URL and a bunch of blanks — which is the bad behavior.
The bad behavior only happens when debugging, tho. So, if you launch with a ctrl+F5 or just run the app from your phone, it should work as you expect.
EDIT: Accentuated the answer – thanks.