FreeSoft
English EN

Documentation

API Reference — PhoneGap 2.1.0

Archived api reference documentation, with original examples and platform notes for PhoneGap 2.1.0.

Recovered documentationVersion 2.1.0
Archive note. Historical reference. PhoneGap tools and the former Adobe services are no longer maintained as described in the original material. Recovered text and newly written explanations are identified below; consult current platform documentation for active development.

About this version

This page preserves the official documentation for Version 2.1.0. Commands, supported platforms and API behavior below belong to that historical version. For active projects, consult the current Apache Cordova documentation.

Browse this version

Recovered pages open in this archive; other entries open their original repository source.

Original source: index

API Reference

  • Accelerometer

    Tap into the device's motion sensor.
  • Camera

    Capture a photo using the device's camera.
  • Capture

    Capture media files using device's media capture applications.
  • Compass

    Obtain the direction that the device is pointing.
  • Connection

    Quickly check the network state, and cellular network information.
  • Contacts

    Work with the devices contact database.
  • Device

    Gather device specific information.
  • Events

    Hook into native events through JavaScript.
  • File

    Hook into native file system through JavaScript.
  • Geolocation

    Make your application location aware.
  • Media

    Record and play back audio files.
  • Notification

    Visual, audible, and tactile device notifications.
  • Storage

    Hook into the devices native storage options.

Guides

  • Getting Started Guides

    Setup each SDK and create your first Cordova app.
  • Command-Line Usage

    Create, build, deploy, and debug from the command-line.
  • Upgrading Guides

    Upgrade an application to the latest Cordova release.
  • Plugin Development Guide

    Develop your first Cordova plugin.
  • Domain Whitelist Guide

    Grant an application access to external domains.
  • Embedding WebView

    Implement the Cordova WebView in your project.
  • Keyword Index

    Full index of the Cordova Documentation.

Sources & archive notes

Recovered repository material is attributed to its original authors and distributed with its source license. Changes: FreeSoft layout, archive context, navigation, link and image locations. Apache License 2.0 · Notices and provenance. Editorial material is labeled separately.