TBSViewer:腾讯TBS服务简单封装,实现文档预览功能

上传者: 42118056 | 上传时间: 2022-10-25 15:45:47 | 文件大小: 9.13MB | 文件类型: ZIP
说明 基于腾讯浏览服务,支持多种文件格式,例如doc、excel、ppt、excel、pdf等格式; 支持展示网络文件 支持测试本demo之前先把test文件夹里的文件复制到手机存储,方便测试,路径如下: TBS服务接入 参考腾讯TBS官网,地址: 效果图 使用方式 allprojects { repositories { maven { url 'https://jitpack.io' } } } dependencies { compile 'com.github.YinWeiLF:TBSViewer:v1.0.6' } 别忘记在application文件中初始化环境, //增加这句话 Utils.initX5Environment(this); 具体使用方式: 方法一: 使用FileDisplayView //自定义activity fragme

文件下载

资源详情

[{"title":"( 62 个子文件 9.13MB ) TBSViewer:腾讯TBS服务简单封装,实现文档预览功能","children":[{"title":"TBSViewer-master","children":[{"title":"tbsreviewlibrary","children":[{"title":"src","children":[{"title":"main","children":[{"title":"jniLibs","children":[{"title":"armeabi","children":[{"title":"liblbs.so <span style='color:#111;'> 15.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 757B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable","children":[{"title":"black_bg.png <span style='color:#111;'> 548B </span>","children":null,"spread":false},{"title":"whitebg.png <span style='color:#111;'> 343B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_file_display.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"view_file_display.xml <span style='color:#111;'> 707B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"hw","children":[{"title":"tbsreviewlibrary","children":[{"title":"ExceptionHandler.java <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"LoadFileApi.java <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"view","children":[{"title":"XFileDisplayView.java <span style='color:#111;'> 7.93KB </span>","children":null,"spread":false},{"title":"FileDisplayView.java <span style='color:#111;'> 7.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"Md5Tool.java <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"VideoUtils.java <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"Utils.java <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"FileImgShowUtils.java <span style='color:#111;'> 639B </span>","children":null,"spread":false}],"spread":true},{"title":"FileShowView.java <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"LoadFileModel.java <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"TLog.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"SuperFileView2.java <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"tbs_sdk_thirdapp_v3.6.0.1234_43608_sharewithdownload_withoutGame_obfs_20180510_111111.jar <span style='color:#111;'> 345.11KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false}],"spread":true},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"test.docx <span style='color:#111;'> 474.68KB </span>","children":null,"spread":false},{"title":"test.pdf <span style='color:#111;'> 476.13KB </span>","children":null,"spread":false},{"title":"test.txt <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"test.xlsx <span style='color:#111;'> 41.54KB </span>","children":null,"spread":false},{"title":"test.pptx <span style='color:#111;'> 7.80MB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"yw","children":[{"title":"tbs","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"item.xml <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"yw","children":[{"title":"tbs","children":[{"title":"App.java <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 606B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 648B </span>","children":null,"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 717B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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