码迷,mamicode.com
首页 > 其他好文 > 详细

Install PhoneGap

时间:2014-10-28 17:21:52      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   http   io   color   os   ar   for   

To Install, ensure that you have NodeJS installed, then open your commandline and run the following:

$ sudo npm install -g phonegap

Once installation completes, you can invoke phonegap on command line for further help.

 


 

Usage

$ phonegap create my-app
$ cd my-app
$ phonegap run android
        

Learn more at docs.phonegap.com

 

 

我搞不懂phonegap命令和cordova命令的差别

cordova create hello com.example.hello HelloWorld
 $ cordova platform add ios
    $ cordova platform add amazon-fireos
    $ cordova platform add android
    $ cordova platform add blackberry10
    $ cordova platform add firefoxos
  $ cordova platform add wp7
    $ cordova platform add wp8
    $ cordova platform add windows8
    $ cordova platform add amazon-fireos
    $ cordova platform add android
    $ cordova platform add blackberry10
    $ cordova platform add firefoxos

 

Install PhoneGap

标签:android   style   blog   http   io   color   os   ar   for   

原文地址:http://www.cnblogs.com/ghgyj/p/4057002.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!