当前位置: 首页 > 文档资料 > Cordova 中文文档 >

文档

优质
小牛编辑
117浏览
2023-12-01
  • 概述

    如果你刚开始学Cordova那么就从这里开始吧。包括安装和下一步。

  • 创建你的第一个App

    学习如何通过Cordova CLI创建你的第一个混合App。

  • 平台支持

    所有主要插件和特性的兼容性表。

  • 管理版本和平台

    怎么管理平台和Cordova CLI版本。

  • 自定义图标

    学习如何给我们的Cordova应用自定义图标

  • 存储数据

    在设备上存储数据

  • 隐私管理

    学习重要的手机隐私问题。

  • 安全管理

    创建一个安全应用的相关信息和建议。

  • 白名单

    安全授予应用访问内部资源的权限。

平台开发

  • Android

  • Blackberry 10

  • iOS

  • OS X

  • Ubuntu

  • Windows

  • WP8

  • Create a plugin

    Develop your own plugin.

  • Use Plugman

    Manage plugins without the CLI when using the platform-centered workflow.

开发平台

  • Android

  • Blackberry 10

  • iOS

  • Windows

  • WP8

  • Embed Cordova in native apps

    Include the Cordova WebView in your native project.

  • Next Steps

    A look at topics that new Cordova developers will encounter.

  • Config.xml

    List of supported tags in the config.xml file.

  • 事件

    Cordova的JavaScript运行时事件列表

  • CLI Reference

    Learn how to use Cordova CLI commands and their options.

  • Hooks

    List of hooks supported by the Cordova CLI.

  • Plugin.xml

    List of supported tags in the plugin.xml file.

插件API

  • Battery Status

    Get events for device battery level.

  • Camera

    Take pictures with the device camera.

  • Console

    Get JavaScript logs in your native logs.

  • Contacts

    Manage the contacts on the device.

  • Device

    Get device information.

  • Device Motion

    Access accelerometer data.

  • Device Orientation

    Access compass data.

  • Dialogs

    Use native dialog UI elements

  • File

    Read/write files on the device.

  • File Transfer

    Upload and download files.

  • Geolocation

    Access GPS data.

  • Globalization

    Access locale data.

  • Inappbrowser

    Open an in-app browser window.

  • Media

    Record and play audio on the device.

  • Media Capture

    Capture audio, video, and images.

  • Network Information

    Get information about wireless connectivity.

  • Splashscreen

    Control the splash screen for your app.

  • Vibration

    Vibrate the device.

  • Statusbar

    Control the device status bar.

  • Whitelist

    Whitelist external content accessible by your app.

  • Legacy Whitelist

    Legacy implementation of the whitelist plugin.