Archived Blog

All the old blog posts, written from 2008 to 2017

Plugins for PhoneGap + Windows Phone Mango

In early September, we announced PhoneGap for Windows Phone Mango. Since then, we’ve still been hard at work and Jesse MacFadyen, a core developer for PhoneGap, recently blogged about adding plugin support to WP7 PhoneGap apps:

“We recently added plugin support to WP7 PhoneGap apps. I will outline here what you need to do to start extending the functionality for WP7 PhoneGap projects.

All WP7 PhoneGap plugins must derive from the PhoneGap base command. More specifically, the WP7GapClassLib.PhoneGap.Commands.BaseCommand class. Plugin commands are dealt with generically throughout the framework, and base command provides the base interface for you to pass data back to JavaScript. This approach also prevents JavaScript code from calling arbitrary native code.” Read more on Jesse’s blog.

See what features WP7 supports