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


Windows 8.1 No Longer Supported - UPDATE
17/04/2014

Microsoft has announced that the Windows 8.1 Update 1 that was released on April 8th is being treated as a "new servicing/support baseline". What does this mean?



C# 6.0 Features
08/04/2014

With the release of Roslyn, the .NET cloud compiler, we have our first view of the features that are likely to make it into C# 6.0 - why so little publicity over a major event?


More News

Last Updated ( Thursday, 08 September 2011 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.