having fun with phonegap (hello world of phonegap)

was just playing with phonegap

Steps to install and create a hello world app with phonegap in ubuntu 14.04:

  1. install NodeJs
  2. sudo npm install -g phonegap
  3. phonegap create myApp
  4. cd myApp/
  5. phonegap serve
  6. 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)
  7. now download the “PhoneGap Developer App” from your mobile app store (apple) OR google play (android) OR from Windows phone store (windows mobiles)
  8. 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!
  9. 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!
  10. enjoy!

TODO:

Dont know yet how to make the app production! so stay tuned to learn more on that.

Advertisements
About

Work is fun!

Tagged with: , , , , , ,
Posted in PHONEGAP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Disclaimer
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
April 2015
M T W T F S S
« Feb   May »
 12345
6789101112
13141516171819
20212223242526
27282930  

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers

%d bloggers like this: