Lab/Homework: Phonegap For Mobile Development
Admin
Exercise
In this lab exercise, you will perform the following:
- Download and install Phonegap on your system
- Install an IDE of your choice
- Download the following code
- Build the mcompute2a project using phonegap and deploy it to a mobile phone simulator.
- Upload a youtube video of your deployment of the application. Send the video for the ISA for grading.
Notes
For Mac:
- http://docs.phonegap.com/en/2.5.0/guide_getting-started_ios_index.md.html
- If you have an old version of node, do the following to remove:
- Clear you npm cache sudo npm cache clean -f
- Install "n" sudo npm install -g n (this might take a while)
- Upgrade to latest version sudo n stable
- Install phonegap under http://phonegap.com/install/
- sudo npm install -g phonegap
- Usage
- phonegap create my-app
- cd my-app
- phonegap run android
For Windows/LinuxAndroid:
- http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html