• 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篇

  • 相关阅读:
    MySQL中内存分为全局内存和线程内存
    mysql 线程级别的缓冲区
    MySQL Handler变量解析
    HANDLER命令与实现
    MySQL Spatial Extensions 地理信息
    C++中临时对象的学习笔记
    HDC与CDC相互转换
    B树
    基于R-Tree的最近邻查询
    地图发布的几种服务的区别
  • 原文地址:https://www.cnblogs.com/ncore/p/4671458.html
Copyright © 2020-2023  润新知