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


Amazon Ending Alexa Skills Payments
12/04/2024

Amazon has told developers who are signed up to the Alexa Developer Rewards Program that their monthly payments will end at the end of June. The announcement follows a decision to end the program unde [ ... ]



Can C++ Be As Safe As Rust?
10/04/2024

Herb Sutter is a well known and respected C++ champion and he thinks that the language only needs a few tweaks to make it as safe as Rust. Can this be true?


More News

Last Updated ( Thursday, 08 September 2011 )