was just playing with phonegap
Steps to install and create a hello world app with phonegap in ubuntu 14.04:
- install NodeJs
sudo npm install -g phonegap
- phonegap create myApp
- cd myApp/
- phonegap serve
- will show in terminal like this: listening on xx.xx.xxx.xx:3000 (here xx are ip address could be local or some real ip in server)
- now download the “PhoneGap Developer App” from your mobile app store (apple) OR google play (android) OR from Windows phone store (windows mobiles)
- Now, wirelessly pair the apps, Using the desktop app, open a PhoneGap project and start a local server. Now grab your mobile device and enter the IP address of your desktop server. When the two are paired, magic will happen and you will see your app on the mobile device!
- you can now edit the myApp/www/index.html and write something inside the tag <div class=”app”> to see your changes in mobile instantly!
Dont know yet how to make the app production! so stay tuned to learn more on that.