Windows 7 version of PhoneGap/Cordova

This post is more than 2 years old.

This is interesting - Intel has created a Windows 7 port of PhoneGap (AKA Cordova). You can grab the bits at the Github project:

https://github.com/otcshare/cordova-win7

Right now it is pretty rough, but you can test it using the free Visual C++ 2010 Express.

Once you download Visual Studio, run it, and open Cordova.sln:

And then you can simply hit the green button by the word Debug:

If everything works out, you get an actual Windows application built from the files in the html folder of the project.

Note that there doesn't seem to be a way to go back from the demos they built. Luckily it's just HTML so I went in and added a link back to index.html:

The lovely pink markers are my work - wasn't sure if my machine's UUID was something I should share.

Note that using this project requires Internet Explorer 9 to be installed on the machine. I was able to generate a release build (an actual .exe file), but it didn't run properly. That's either the project still being in its infancy or me simply not building it correctly.

To be clear, this is not new. I've long been a fan of Adobe AIR and HTML but as a PhoneGap developer, I think this is pretty cool stuff.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Justin Carter posted on 7/15/2012 at 1:31 PM

Having done heaps of work with PhoneGap and WebKit lately, this would be awesome if only it used the latest WebKit instead of IE9 :) Remote debugging FTW!~

Comment 2 by SMM posted on 8/29/2012 at 9:29 PM

Lol, that's my machine name too.

Comment 3 by Fabricio posted on 11/26/2013 at 10:13 PM

as it does to run the events, keydown, tabcontrol, keypress, ctrl + c, ctrl + v?

Comment 4 by Raymond Camden posted on 11/27/2013 at 3:09 AM

Eh?

Comment 5 by Fabricio posted on 11/29/2013 at 10:35 PM

Hey Raymond Camden,

Sorry. I meant: I'm having issues with Visual Studio and Phonegap since I'm using the Apache Cordova for Windows. But it seems to not be able to recognize some events, such as: keyup and keydown.

Also, it's just weird that I'm still able to use the keypress event. So I don't get the what's so complicated about using the ones I said above.

I was just wondering if you faced anything like this before. My bet is about this being related to the WebBrowser control, but I can't be so confident about that.

Thanks for your help anyway.

Comment 6 by Raymond Camden posted on 12/1/2013 at 6:56 PM

Nope, doesn't sound familiar. I did a quick search for "windows phone keydown" and nothing relevant showed up. I'd suggest maybe building a new app with literally nothing but a field and a keydown listener. Just to ensure nothing else is causing a problem.