基于X5内核的WebView安卓HybridAppDemo

上传者: fu908323236 | 上传时间: 2021-07-07 12:54:02 | 文件大小: 423KB | 文件类型: ZIP
现在的HybridApp也就是混合开发的APP越来越普遍了,其原理就是在一个APP中嵌入一个webview,然后访问我们的html5页面,而html5页面这部分内容,在我们APP不升级的情况下能动态的更新,并且具有跨平台性,也就是说Android和IOS都可以用这一个html页面,从而减小了开发成本。现在很多APP都是混合开发的了,比如淘宝,京东,还有很多银行的APP,中国移动APP等。 优点:减小开发成本,缩短开发周期,具有跨平台性。 此demo就是演示了一下混合开发的基础操作以及集成腾讯的X5内核

文件下载

资源详情

[{"title":"( 50 个子文件 423KB ) 基于X5内核的WebView安卓HybridAppDemo","children":[{"title":"X5HybridDemo","children":[{"title":".gitignore <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 941B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"tbs_sdk_thirdapp_v3.1.0.1034_43100_sharewithdownload_obfs_20170301_182143.jar <span style='color:#111;'> 293.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"fu","children":[{"title":"x5hybriddemo","children":[{"title":"JsCallAndroid2Activity.java <span style='color:#111;'> 5.03KB </span>","children":null,"spread":false},{"title":"WebViewTestActivity.java <span style='color:#111;'> 9.88KB </span>","children":null,"spread":false},{"title":"JsCallAndroid3Activity.java <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false},{"title":"MyApplication.java <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"AndroidCallJs2Activity.java <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"AndroidCallJs1Activity.java <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"JSCallAndroid.java <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"JsCallAndroid1Activity.java <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"jniLibs","children":[{"title":"armeabi","children":[{"title":"liblbs.so <span style='color:#111;'> 15.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 78B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_js_call_android2.xml <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"activity_js_call_android3.xml <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"activity_web_view_test.xml <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"activity_js_call_android1.xml <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"activity_android_call_js1.xml <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"activity_android_call_js2.xml <span style='color:#111;'> 875B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":null,"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 14.35KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":[{"title":"index1.html <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"index4.html <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"page2.html <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"index6.html <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"index3.html <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"index2.html <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"index5.html <span style='color:#111;'> 522B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 16B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • weixin_44729181 :
    '正需要啊,感谢楼主分享!
    2019-12-27

免责申明

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