隨筆-193  評論-715  文章-1  trackbacks-0
          Phonegap has big change from v3, the all features are needed to add as plugin.

          The following are notes for debug feature:
          The "console" is a plugin now, so we need to add it by following command:
          cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git

          And then you could use console API now, e.g.:
          console.log('onSuccess! contacts.length:' + contacts.length );

          You will see logs on output console of Xcode or Logcat of Eclipse.
          Pls see following screenshots:





          posted on 2014-01-02 14:17 Robin's Programming World 閱讀(748) 評論(0)  編輯  收藏 所屬分類: 其它
          主站蜘蛛池模板: 中阳县| 含山县| 会昌县| 汉中市| 湘潭县| 当涂县| 泉州市| 奉化市| 尖扎县| 磐石市| 永仁县| 五常市| 崇左市| 资讯 | 沙河市| 英超| 海林市| 定南县| 威远县| 那曲县| 巨鹿县| 土默特右旗| 新晃| 基隆市| 马鞍山市| 马山县| 陆丰市| 开封县| 哈尔滨市| 赞皇县| 达尔| 资兴市| 松江区| 独山县| 固始县| 玛沁县| 杭州市| 额济纳旗| 加查县| 垣曲县| 澄迈县|