PhoneGap for Windows Phone7
Written by Ian Elliot   
Thursday, 08 September 2011

PhoneGap lets you create an HTML/JavaScript application for any phone that it supports. The latest version includes support, not only for Windows Phone 7,  but also for 7.5, Mango.

PhoneGap is a clever idea. It's a, open-source framework that lets you use HTML and JavaScript to develop apps for mobile devices. Nothing new so far. The clever part is that it overcomes the problems that non-native apps have in not being able to access native APIs, such as the GPS or the camera. The way that it does this is to simply provide a JavaScript library with calls that interface to the native API. So with PhoneGap you can create an HTML/JavasScript application that runs on any phone - as long as PhoneGap supports it.

Until now one notable exception from the list of supported phone was Windows Phone 7.  Now PhoneGap not only has WP7 support, but the very latest Mango release is the target.

PhoneGapIcon

To make use of it you need Visual Studio and the WP7 SDK, but the free Express version also works. A new PhoneGap application type is provided as a project template. The target browser is IE9 rather than a webkit derived browser but essentially everything should work in the same way as for other WebKit/PhoneGap supported phones.

Currently the system supports:

  • Accelerometer
  • Camera
  • Compass (almost)
  • Contacts
  • Events (partial, still underway)
  • GeoLocation
  • MediaCapture
  • Connection
  • Notification
Still to come in the next version:
  • File
  • Storage

There are still some problems and omissions, but for a first version it is looking good and closes the only major hole in PhoneGap support.

More Information

Code: https://github.com/phonegap/phonegap-wp7 Information: http://bit.ly/PhoneGapMangoIntro

Phonegap

Related article:

PhoneGap 1.0 - the smart way to create apps?

 

If you would like to be informed about new articles on I Programmer you can either follow us on Twitter or Facebook or you can subscribe to our weekly newsletter.

 

Banner


JetBrains Makes WebStorm and Rider Free for Non-Commercial Use
24/10/2024

JetBrains has launched a non-commercial license for its JavaScript and TypeScript IDE, WebStorm, and for Rider, its cross-platform .NET and game development IDE.



GitHub Universe AI Announcements - Copilot And Spark
30/10/2024

GitHub has announced several improvements for developers at Universe, its annual conference. Developers will get multi-model Copilot and GitHub Spark, an AI-native tool for building applications in na [ ... ]


More News

Last Updated ( Thursday, 08 September 2011 )