GithubHelp home page GithubHelp logo

bb168ll / superfileview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhongxiaohong/superfileview

0.0 2.0 0.0 38.01 MB

基于腾讯浏览服务Tbs,使用X5Webkit内核,实现文件的展示功能,支持多种文件格式

License: Apache License 2.0

Java 100.00%

superfileview's Introduction

交流群 540686217

说明

  • 基于腾讯浏览服务,支持多种文件格式,例如doc、excel、ppt、excel、pdf等格式;
  • 支持展示网络文件
  • 支持测试本demo之前先把test文件夹里的文件复制到手机存储,方便测试,路径如下: 这里写图片描述

TBS服务接入

参考腾讯TBS官网,地址:https://x5.tencent.com/tbs/guide/sdkInit.html

效果图

这里写图片描述

后续:Bug 修复

网友反映有些手机加载不了文件,会出现以下画面:

文件预览失败.png

经过排查发现原因如下:

错误原因.png

解决办法:

2解决错误.png

另外一种方式确定是不是这个原因导致的文件加载失败,你可以文件管理器那里看看有没有这个文件夹存在,如下:

没有Temp文件夹.png

声明

之前有很多小伙伴遇到这个问题,刚好遇到国庆所以没有及时跟进,国庆后积压的工作有点多,都在还债,拖得有点久,很抱歉!现在终于搞定这个bug了,代码也已经同步github,各位可以检验一下。

博客

http://www.jianshu.com/p/3f57d640b24d

superfileview's People

Contributors

zhongxiaohong avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.