简体   繁体   中英

Docx/Pdf/etc and WebView

How I can laod doc/docx/pdf and xls files into WebView?

I tried to use loadData(myBase64, "mime type for example application/pdf", "base64), I tried to use loadUrl("file///...") - no effect. Or how I can view this files in my application? (without external programs)

...And I CAN'T to use web readers.

How I can laod doc/docx/pdf and xls files into WebView?

You don't. WebView does not have the ability to display these file types. WebView handles HTML, CSS, JS, some image formats, and the like.

Or how I can view this files in my application? (without external programs)

You spend a lot of money on libraries to do this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM