public
Description: access core functions on Android, iPhone and Blackberry using JavaScript
Homepage: http://phonegap.com
Clone URL: git://github.com/sintaxi/phonegap.git
sintaxi (author)
Wed Nov 18 15:03:42 -0800 2009
commit  788a29c5407f5ff01cb4014ad9f863c318e67665
tree    b6483b528765dd3e0bcac18c38b128f5604ee7c5
parent  b55c8cd83729354bb45febb910181532ec6895e1 parent  c04000a10733029cd4fd5b2272eebdb65d7ef23b
name age message
file .gitignore Wed Nov 18 15:02:53 -0800 2009 another change to .gitignore [sintaxi]
file Makefile Thu Nov 12 15:48:58 -0800 2009 Fixing up the Contacts, allowing support for mu... [Joe Bowser]
file README.md Mon Nov 16 15:27:53 -0800 2009 Updated README.md [shazron]
file Rakefile Sun Apr 19 17:52:10 -0700 2009 Moved docs into javascripts directory and updat... [NachoMan]
directory android/ Wed Nov 18 11:24:04 -0800 2009 Merge branch 'master' of git@github.com:phonega... [Joe Bowser]
directory blackberry/ Wed Nov 04 14:53:43 -0800 2009 Updated project file to include new sample www ... [Fil Maj]
file configure Fri May 08 16:14:52 -0700 2009 Only generate Doxygen Makefile section if doxyg... [NachoMan]
directory iphone/ Mon Nov 16 16:17:11 -0800 2009 Stop the current playing sound if sound is play... [shazron]
directory javascripts/ Thu Nov 12 16:50:51 -0800 2009 Merge branch 'master' of git@github.com:phonega... [Joe Bowser]
directory symbian.wrt/ Sun Nov 01 23:05:02 -0800 2009 updated sample project with new api and new sam... [Ryan Willoughby]
directory util/ Sun Apr 19 17:52:10 -0700 2009 Moved docs into javascripts directory and updat... [NachoMan]
directory winmo/ Wed Nov 04 14:43:15 -0800 2009 Added basic media support (WAV and MP3 for now)... [Fil Maj]
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 WRT (Nokia) SDK using JavaScript.

Get Started

Download the source.

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

PhoneGap project is separated into a native project for each device, javascript files and a rakefile.

phonegap
  |- README.md
  |- Rakefile
  |- android/
  |- blackberry/
  |- iphone/
  |- symbian.wrt/
  |- winmo/
  `- javascripts/

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.

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 6.2k (2.4k minified and gziped).

Community

The MIT License

Copyright (c) 2008, Rob Ellis, Brock Whitten, Brian Leroux, Joe Bowser, Dave Johnson, 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.


phonegap is a nitobi sponsored project