Apache Cordova 是一个最初由 Nitobi 创建的移动应用开发框架。Adobe Systems 于 2011 年收购了 Nitobi,将其更名为 PhoneGap,后来发布了该软件的开源版本 Apache Cordova。
¥Apache Cordova is a mobile application development framework originally created by Nitobi. Adobe Systems purchased Nitobi in 2011, rebranded it as PhoneGap, and later released an open source version of the software called Apache Cordova.
Apache Cordova 使软件程序员能够使用 C、HTML5 和 JavaScript 为移动设备构建应用,而无需依赖特定于平台的 API,例如 Android、iOS 或 Windows Phone 中的 API。它可以根据设备平台封装 CSS、HTML 和 JavaScript 代码。它扩展了 HTML 和 JavaScript 的功能,使其能够与设备兼容。生成的应用是混合型的,这意味着它们既不是真正的原生移动应用(因为所有布局渲染都是通过 Web 视图而不是平台的原生 UI 框架完成的),也不是纯粹的 Web 应用(因为它们不仅仅是 Web 应用,而是打包为应用进行分发,并可以访问原生设备 API)。
¥Apache Cordova enables software programmers to build applications for mobile devices using CSS3, HTML5, and JavaScript instead of relying on platform-specific APIs like those in Android, iOS, or Windows Phone. It enables wrapping up of CSS, HTML, and JavaScript code depending upon the platform of the device. It extends the features of HTML and JavaScript to work with the device. The resulting applications are hybrid, meaning that they are neither truly native mobile application (because all layout rendering is done via Web views instead of the platform’s native UI framework) nor purely Web-based (because they are not just Web apps, but are packaged as apps for distribution and have access to native device APIs).
你可以使用 Cordova 插件 连接到原生设备 API。
¥You can hook into the native device APIs by using Cordova Plugins.