If I develop a web app in phonegap, can the same web app be made to run in regular desktops/laptops inside a browser?
You can also try to run your app in Chrome by using the --disable-web-security command line option. It will allows you to perform some "mobile" operations like cross-domain requests etc.
Hope this helps !
Using Ripple Emulator in chrome you can run you phonegap app.
PhoneGap is an application framework that enables you to build natively installed applications using HTML and JavaScript.
The easiest way to think of PhoneGap is a web view container that is 100% width and 100% height, with a JavaScript programming interface that allows you to access underlying operating system features.
More Detail about Phonegap
If your phonegap application doesn't depend on any native code, then yes you can simply use the html, css & js files needed to create a web application. If your phonegap app uses any phonegap plugins or phonegap specific javascript calls, then you simply need decided on how these should be implemented on a web application.
MacGap is quite an active project and seems to support the API quite well.
Alas it is only for Mac OSX, but might work as a good jump-off point?
I was surprised that I could find no simple way to test the application in a desktop browser so I started a GitHub project that makes the process a no brainer. Currently only a limited number of plugins are emulated, but I'll add more and hopefully contributions will help complete the other plugins faster. Also planned is support for selecting different screen sizes and other customisations. Hope it helps.
Try this : https://github.com/icblenke/phonegap-mac
I tried one sample and it worked great..Hope this Helps!!