github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

phonegap / phonegap forked from sintaxi/phonegap

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 116
    • 118
  • Source
  • Commits
  • Network (118)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (4)
    • 0.6.x
    • android_1.5
    • master ✓
    • plugins
  • Tags (11)
    • 0.9.0
    • 0.8.3
    • 0.8.2
    • 0.8.1
    • 0.8.0
    • 0.7.4
    • 0.7.3
    • 0.7.2
    • 0.7.1
    • 0.7.0
    • 0.6.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

access core functions on Android, iPhone and Blackberry using JavaScript — Read more

  cancel

http://phonegap.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated README.md for submodule docs 
shazron (author)
Tue Dec 22 20:55:13 -0800 2009
commit  d2b73e18f7c7b199a2bc0def4ea1ca87798bb5f7
tree    cec5b509aac357fac0411b571ad422fdecd0ed29
parent  e2c38ebe2df224d5bfeccc7c70cea574af7a4164
phonegap /
name age
history
message
file .gitignore Wed Nov 18 15:02:53 -0800 2009 another change to .gitignore [sintaxi]
file .gitmodules Tue Dec 22 17:05:59 -0800 2009 Submoduled android, blackberry, palm, symbian.wrt [shazron]
file README.md Tue Dec 22 20:55:13 -0800 2009 Updated README.md for submodule docs [shazron]
submodule android - 5b5c259 Tue Dec 22 17:50:54 -0800 2009 Updated commit ids for the submodules [shazron]
submodule blackberry - 9681475 Tue Dec 22 17:50:54 -0800 2009 Updated commit ids for the submodules [shazron]
submodule iphone - 3c62241 Tue Dec 22 16:29:19 -0800 2009 Fixed Submodule Issue [Joe Bowser]
submodule palm - 262fa51 Tue Dec 22 17:50:54 -0800 2009 Updated commit ids for the submodules [shazron]
submodule symbian.wrt - 8c66f7e Tue Dec 22 17:50:54 -0800 2009 Updated commit ids for the submodules [shazron]
submodule winmo - f489943 Tue Dec 22 17:05:59 -0800 2009 Submoduled android, blackberry, palm, symbian.wrt [shazron]
README.md

PhoneGap

PhoneGap is a development tool that allows web developers to take advantage of the core features in the iPhone, Android, BlackBerry, and Symbian with a unified JavaScript API.

Get Started

Get the source.

git clone git://github.com/phonegap/phonegap.git

PhoneGap project is separated into git submodules for each device.

phonegap
  |- README.md
  |- android/
  |- blackberry/
  |- iphone/
  |- symbian.wrt/
  `- winmo/ (not production ready)

Each project has a respective README.md file. view that file for detailed information on how to work with that device. PhoneGap offers one unified API for accessing core functionality on all devices. Where possible, phonegap follows the HTML5 spec.

Getting the Submodules

  1. Launch "Terminal.app" and navigate to the phonegap folder (this folder)
  2. Type in "git submodule init" and press Enter
  3. Type in "git submodule update" and press Enter

Updating a Submodule

The submodules only get the code at a certain commit, when initially added. From time to time, we will update this commit pointer. To manually update to the latest code:

  1. Launch "Terminal.app" and navigate to the submodule folder
  2. Type in "git remote update" and press Enter
  3. Type in "git merge origin/master" and press Enter

API

Device

Exposes properties of the phone, such as its device ID, model, and OS version number.

Location

Gain access to the Latitude / Longitude of the device, and depending on the type of device, the course, speed, and altitude.

Accelerometer

Monitor the accelerometer on the device to detect orientation, shaking and other similar actions.

Contacts

Query the phone addressbook to read the users contacts.

Orientation

Read the device layout orientation, e.g. landscape vs portrait.

Camera

Brings up the camera or photo browser on the phone to allow the user to upload a photo.

Vibrate

Triggers the vibration alert on the phone, if it is supported.

Sound

Play sound files (WAV, MP3, etc).

Telephony

Trigger and activate phone calls.

XUI

You may work with any Javascript framework within a PhoneGap application. XUI is the "officially preferred" framework of the phonegap core team. XUI is inspired by JQuery, optimized for web browsers and weighs in at 2.4k (minified and gziped).

Community

  • Website - phonegap.com
  • Google Group - groups.google.com/group/phonegap
  • Wiki - wiki.phonegap.com/
  • Twitter - twitter.com/phonegap
  • Issue Tracker phonegap.lighthouseapp.com

Contribute

Fork, commit, push, and send us a pull request at phonegap/phonegap.

The MIT License

Copyright (c) 2008, 2009, 2010 Rob Ellis, Brock Whitten, Brian Leroux, Joe Bowser, Dave Johnson, Shazron Abdullah, Jesse MacFadyen, Filip Maj, Ryan Willoughby, Nitobi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server