Cordova

Apache Cordova允许使用HTML、CSS和JavaScript构建原生移动应用程序。(Apache Cordova allows for building native mobile applications using HTML, CSS and JavaScript.)

Github stars Tracking Chart

Apache Cordova是一个开源的移动开发框架。 它允许您使用标准Web技术 —— HTML5、CSS3和JavaScript进行跨平台开发。 应用程序在针对每个平台的包装器中执行,并且依赖于符合标准的API绑定来访问每个设备的功能,如传感器、数据、网络状态等。

如果您使用Apache Cordova:
  • 一个移动开发人员,并希望通过多个平台扩展应用程序,而无需使用每个平台的语言和工具集来重新实现。
  • 一个Web开发人员,并希望部署一个打包在各种应用商店门户网站中的网络应用程序。
  • 有兴趣将本地应用程序组件与可以访问设备级API的WebView(特殊浏览器窗口)混合的移动开发人员,或者是要在本机和WebView组件之间开发插件接口。

Overview

Name With Ownerapache/cordova-android
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 5)
Platform
License:Apache License 2.0
Release Count157
Last Release Name12.0.1 (Posted on )
First Release Name0.9.0 (Posted on )
Created At2012-11-28 08:00:22
Pushed At2024-04-13 09:31:55
Last Commit At2024-04-13 18:31:55
Stargazers Count3.6k
Watchers Count286
Fork Count1.5k
Commits Count4.1k
Has Issues Enabled
Issues Count800
Issue Open Count75
Pull Requests Count460
Pull Requests Open Count9
Pull Requests Close Count416
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Build Status
codecov.io

Cordova Android

Cordova Android is an Android application library that allows for Cordova-based
projects to be built for the Android Platform. Cordova based applications are,
at the core, applications written with web technology: HTML, CSS and JavaScript.

Apache Cordova is a project of The Apache Software Foundation (ASF).

Requires

Cordova Android Developer Tools

We recommend using the Cordova command-line tool to create projects and be able to easily install plugins.

However, the following scripts can be used instead:

./bin/create [path package activity] ... creates the ./example app or a cordova android project
./bin/check_reqs ....................... checks that your environment is set up for cordova-android development
./bin/update [path] .................... updates an existing cordova-android project to the version of the framework

These commands live in a generated Cordova Android project. Any interactions with the emulator require you to have an AVD defined.

./cordova/clean ........................ cleans the project
./cordova/build ........................ calls `clean` then compiles the project
./cordova/log   ........................ streams device or emulator logs to STDOUT
./cordova/run   ........................ calls `build` then deploys to a connected Android device. If no Android device is detected, will launch an emulator and deploy to it.
./cordova/version ...................... returns the cordova-android version of the current project

Using Android Studio

  1. Create a project
  2. Import it via "Non-Android Studio Project"

Running the Native Tests

The test/ directory in this project contains an Android test project that can
be used to run different kinds of native tests. Check out the
README contained therein for more details!

To the top