Gossip precedes. The PhoneGap I understand was originally developed by engineers at Nitobi software company. After being acquired by Adobe, the PhoneGap core code was donated to Apache, but PhoneGap's name was reserved by Adobe. Apache eventually named the Project apache cordova (Cordova is the name of the street where the developer is located). Cordova and PhoneGap are currently in sync with the core code, which can be used. PhoneGap is a set of API interfaces for mobile devices that access these interfaces using JavaScript to invoke hardware system resources such as cameras and compasses. The following platforms are used for Mac, install using PhoneGap, no permissions installed, automatically add sudo use in front. node. JS preinstalled PhoneGap, first installing node. JS (https://nodejs.org), download and install. Terminal use sudo curl -l https://npmjs.org/install.sh | sh can install NPM.JS,NPM as Manuscript management tool, (RPM, etc.) if the installation package above has this option, you can omit it. To upgrade NPM, you can use the sudo npm update npm -g command. node -v, npm -v can view version information. node. js Test, write File Test.js var http = require (' http '); http.createserver (function (req, res) { res.writehead (200, {' Content-type ': ' Text/plain '}); res.end (' hello world\n '); }). Listen (1337, "127.0.0.1"); console.log (' Server running at http://127.0.0.1:1337/'); Jump to the directory, run node test.js start the service, browser, You can see the effect by entering http://127.0.0.1:1337. Learn from node. JS and continue to record later. Install the PhoneGap with a previously installed NPM installation. npm install -g phonegapphonegap -v, you can view the current PhoneGap version information.
PhoneGap Software Installation