开发者

Showing .rtf , .txt or .pdf files in web view of android?

i have three different kind of files ,

  1. Document file
  2. text file
  3. pdf file .

while clicking button i need to render those file in webview of android, is it possible or not.

If any one know the solution means help me out.

Note: i need load those files from as开发者_Go百科set folder.

Thanks.


is it possible or not.

You can display a text file in a WebView via the text/plain MIME type. WebView cannot render PDF. I have no idea what you think a "document file" is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜