Cordova

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

Github星跟蹤圖

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

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

概覽

名稱與所有者apache/cordova-android
主編程語言JavaScript
編程語言JavaScript (語言數: 5)
平台
許可證Apache License 2.0
發布數157
最新版本名稱12.0.1 (發布於 )
第一版名稱0.9.0 (發布於 )
創建於2012-11-28 08:00:22
推送於2024-05-10 23:40:03
最后一次提交2024-05-08 23:57:04
星數3.6k
關注者數285
派生數1.5k
提交數4.1k
已啟用問題?
問題數801
打開的問題數73
拉請求數465
打開的拉請求數5
關閉的拉請求數418
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

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!

去到頂部