1.3.0 中文文档教程
Moxtra Plugin PhoneGap plugin
使用 PhoneGap 2.9.*
How To Use
cordova.exec(function(success){
// success handler
console.log("MOxtraPlugin.js: is inside"); //警报(成功);cordova.define("com.moxtra.corodovaplugin", function(require, exports, module) { var exec = require('cordova/exec'); }, 功能(错误){ // 错误处理器 //警报(“错误”+错误); console.log("内部错误",error); }, "Moxtra插件", 行动, [参数] ); }
Moxtra Plugin PhoneGap plugin
Work with PhoneGap 2.9.*
How To Use
cordova.exec(function(success){
// success handler
console.log("MOxtraPlugin.js: is inside"); //alert(success);cordova.define("com.moxtra.corodovaplugin", function(require, exports, module) { var exec = require('cordova/exec'); }, function(error){ // error handler //alert("Error" + error); console.log("inside error",error); }, "MoxtraPlugin", action, [param] ); }