## download:Python主讲移动端自动化测试框架Appium 从基础到项目实战
import org.json.JSONArray; import android.app.Activity; import android.app.alertDialog; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import com.phonegap.api.PhonegapActivity; import com.phonegap.api.Plugin; import com.phonegap.api.PluginResult; public class PluginTest extends Plugin { 在HTML文件中调用办法
在html文件中引入phonegap和插件的js文件,调用办法
JAVA传参 phonegap包--> 自定义的插件文件-->
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)