Skip to content

Instantly share code, notes, and snippets.

@subdavis
Last active November 19, 2015 23:51
Show Gist options
  • Save subdavis/6311179350e58b020333 to your computer and use it in GitHub Desktop.
Save subdavis/6311179350e58b020333 to your computer and use it in GitHub Desktop.
1) Get Phonegap from the following link:
http://docs.phonegap.com/getting-started/1-install-phonegap/desktop/
1.1 ) Get the example code!
http://redspin.net/phonegap.zip
2) Get the Phonegap Dev Application from Apple Store / Play Store
3) Run the things and connect.
4) Installing cordova apps:
http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html
Example: Add geolocation
Navigate to the directory in your command line
install like this: https://github.com/apache/cordova-plugin-geolocation
also: http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#The%20Command-Line%0AInterface
5) Update the DOM
This is easy
6) Accelerometer stuff
http://docs.phonegap.com/en/edge/cordova_accelerometer_accelerometer.md.html
Other cordova docs
http://docs.phonegap.com/plugin-apis/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment