如何在Webview中加载.mht文件? [英] How to load .mht file in Webview?
本文介绍了如何在Webview中加载.mht文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个显示.mht文件的Android应用程序.为了实现这一点,我尝试:
I have an Android application that displays .mht file .In order to make that happen , I tried:
webview.loadDataWithBaseURL("", s, "multipart/related", "UTF-8", "");
但这会在屏幕上显示不必要的内容,例如此.有谁知道为什么WebView不显示.mht
文件?
But that displays unwanted content on the screen like this . Does anyone have any idea of why the WebView does not show .mht
file?
推荐答案
WebView不支持.mht文件类型.
The WebView do not support .mht file type.
注意:Opera Mini可以打开.mht文件.
Note: The Opera Mini can open the .mht files.
这篇关于如何在Webview中加载.mht文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文