zoukankan      html  css  js  c++  java
  • Cordova

    Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.

    When using the Cordova APIs, an app can be built without any native code (Java, Objective-C, etc) from the app developer. Instead, web technologies are used, and they are hosted in the app itself locally (generally not on a remote http server).

    And because these JavaScript APIs are consistent across multiple device platforms and built on web standards, the app should be portable to other device platforms with minimal to no changes.

    Apps using Cordova are still packaged as apps using the platform SDKs, and can be made available for installation from each device's app store.

    Cordova provides a set of uniform JavaScript libraries that can be invoked, with device-specific native backing code for those JavaScript libraries. Cordova is available for the following platforms: iOS, Android, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian.

    If you want to use Cordova in your mobile application, take a look at our documentation. It includes Getting Started guides, the JavaScript APIs reference and examples, instructions on Upgrading from previous versions of Cordova, how to write your own Cordova plugin, and more. The selector in the top-right corner of the documentation will let you pick different Cordova versions and language translations. And there is a registry of third-party plugins that can be used in your mobile application.

    Apache Cordova graduated in October 2012 as a top level project within the Apache Software Foundation (ASF). Through the ASF, future Cordova development will ensure open stewardship of the project. It will always remain free and open source under the Apache License, Version 2.0.

    Some additional information may be found on our Apache project page.

    -----------------------------------------------------------

    注:安装Xcode and the Xcode Command Line Tools

    Download the latest version of Xcode from the Apple developer website or get it using the Mac App Store.

    Once you have Xcode installed, open a terminal, run xcode-select --install, and click the Install button to install the required command line developer tools. Don’t worry if you see a message telling you the software cannot be installed because it is not currently available from the Software Update Server. This usually means you already have the latest version installed. You can also get the command line tools from the Apple developer website.

    安装好了测试结果:gcc -v

    显示如下:

    xcode-select: note: install requested for command line developer tools

    apple-1tekiiMac:~ apple-1$ gcc -v

    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

    Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)

    Target: x86_64-apple-darwin14.3.0

    Thread model: posix

    -----------------------------------------------------------

    Ref:http://cordova.apache.org

    Ref:http://cordova.apache.org/docs/en/5.0.0/

    Ref:http://rensanning.iteye.com/category/305123

    Ref:使用Phonegap/Cordova编写跨平台(Android/iOS)应用 (2) -- iOS篇

  • 相关阅读:
    《影响力》为你剖析营销的魅力 伍卓钧
    教你如何掌控别人 伍卓钧
    针对面向对象接口最诡异的解读 伍卓钧
    2011年终总结 伍卓钧
    打造阅读Linux源代码利器 伍卓钧
    系统运维的那些事文件权限 伍卓钧
    风扇控制系统最终版 伍卓钧
    码农小手册1 伍卓钧
    码农充电站进程与线程 伍卓钧
    面霸不容易且面且珍惜 伍卓钧
  • 原文地址:https://www.cnblogs.com/ncore/p/4671458.html
Copyright © 2011-2022 走看看