Android与H5交互相互调用对方的方法

上传者: ccstar1 | 上传时间: 2021-07-27 11:07:04 | 文件大小: 331KB | 文件类型: ZIP
此demo主要完成的是webview中H5调用android中的方法,以及android调用H5方法,也就是Java与js的交互,简单好用。

文件下载

资源详情

[{"title":"( 40 个子文件 331KB ) Android与H5交互相互调用对方的方法","children":[{"title":"webview_js","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"sihuaTech","children":[{"title":"webview","children":[{"title":"MainActivity.class <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"testactvity.class <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"MainActivity$myWebViewClient.class <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"MainActivity$JavaScriptinterface.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 11.91KB </span>","children":null,"spread":false},{"title":"webview_jss.apk <span style='color:#111;'> 16.98KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 808B </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 170B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"test.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 442B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":[{"title":"test.html <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"test1.html <span style='color:#111;'> 580B </span>","children":null,"spread":false}],"spread":true},{"title":"gen","children":[{"title":"com","children":[{"title":"sihuaTech","children":[{"title":"webview","children":[{"title":"BuildConfig.java <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 791B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.core.runtime.prefs <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"sihuaTech","children":[{"title":"webview","children":[{"title":"testactvity.java <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 808B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"jsoup-1.7.3.jar <span style='color:#111;'> 290.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • chanhaolong9109 :
    感谢分享!
    2018-03-23
  • liuzhenyu0619 :
    感谢分享demo
    2017-03-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明