Pergunta

I want to do a very basic repackage of a website as a WP8 app, similar to how Microsoft has done it here.

What kind of project do I create in Visual Studio Express for Windows Phone? And what is the general strategy for developing this kind of app?

Foi útil?

Solução

You should select "Windows Phone HTML5 App" template. It basically uses WebBrowser control to open the website. Template also has application bar with back, forward & refresh button.

When you create the app, go to MainPage.xaml.cs and change MainUri string to website's name and use UriKind as UriKind.RelativeOrAbsolute in Browser_Loaded event.

enter image description here

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top