⬆️ ⬇️

Develop applications for Windows Phone Mango on HTML5 and JavaScript





Microsoft together Nitobi announced the availability of a beta version of PhoneGap with support for Windows Phone Mango.



PhoneGap is an open source platform from Nitobi, which will allow you to develop applications for several mobile platforms using standard web technologies. You can see the list of currently available platform forms on Github: http://github.com/phonegap



')

For example, web developers can use their knowledge of HTML5, CSS, and JavaScript to develop applications for Windows Phone.



To build PhoneGap applications for Windows Phone, you need to install Windows Phone SDK 7.1 RC: http://create.msdn.com/en-us/home/getting_started . If you do not have development tools, their free version will be automatically installed during the deployment process.



After that, you need to download PhoneGap as a zip file from the repository on Github:

https://github.com/phonegap/phonegap-wp7 and unpack it on your disk.



Next you need to copy the GapAppStarter.zip file (in the root) to the Visual Studio project template directory:

\ My Documents \ Visual Studio 2010 \ Templates \ ProjectTemplates \



Let's start creating your first application on PhoneGap.



Launch Visual Studio and select the project type GapAppStarter:







Let's call the project somehow in its own way and press the OK button.



Add the framework \ WP7GapClassLib.csproj project from Github downloaded to the created solution, then add a link (Reference) to it to the main project.



We collect and run our first application (F5) on PhoneGap.







Basic information about PhoneGap on Habr.ru:

http://habrahabr.ru/blogs/mobiledev/125433/



More about the release of PhoneGap:

http://blogs.nitobi.com/jesse/2011/09/08/pg-wp7mango/

http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/09/08/phonegap-mobile-html5-framework-adding-support-for-windows-phone-mango.aspx



Learn more about developing for Windows Phone:

http://msdn.microsoft.com/ru-ru/windowsphone/



Windows Phone Developer Blog

Source: https://habr.com/ru/post/128073/



All Articles