Your SlideShare is downloading. ×

Using PhoneGap Command Line

1,683

Published on

Using PhoneGap Command Line the quickly way to develop your mobile application with PhoneGap

Using PhoneGap Command Line the quickly way to develop your mobile application with PhoneGap

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,683
On Slideshare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. PhoneGap Command Line Anuchit Chalothorn anuchit@redlinesoft.net
  • 2. Tools ● Node JS ● Apache Ant ● SDK ○ XCode for iOS App ○ Android SDK for Android App
  • 3. Install Node.js Download and install Node.js from http://nodejs.org/download/
  • 4. Install Apache Ant Download and install Apache Ant from https://ant.apache.org/bindownload.cgi *** Mac user, use brew to install ant ; brew install ant
  • 5. Install PhoneGap Install PhoneGap by using Node Package Manager sudo npm install -g phonegap * Windows user use : npm install -g phonegap
  • 6. Create New Project Use PhoneGap command line to create new project eg; HelloWorld. then dev your code in www directory. phonegap HelloWorld com.example.helloworld
  • 7. Install PhoneGap plugins Use PhoneGap command line to install plugins phonegap plugin add <url-plugin> * List of plugins : https://build.phonegap.com/plugins
  • 8. Build Project to Mobile App Use PhoneGap command line to build project to Mobile Application, after build you’ll get native application in platforms directory phonegap build android * Change android to another platform eg: ios
  • 9. Run Project on Device / Emulator Use PhoneGap command line to run project on your device phonegap run android * Change android to another platform eg: ios

×