2

I have an Android application that displays .mht file .In order to make that happen , I tried:

 webview.loadDataWithBaseURL("", s, "multipart/related", "UTF-8", "");

But that displays unwanted content on the screen like this . Does anyone have any idea of why the WebView does not show .mht file?

Screenshot

jotik
  • 17,044
  • 13
  • 58
  • 123
eureka
  • 55
  • 6

1 Answers1

0

The WebView do not support .mht file type.

Note: The Opera Mini can open the .mht files.

adampweb
  • 1,135
  • 1
  • 9
  • 19
  • 2
    This is more of a comment. Until you gain reputation to post comments, make sure to provide [answers](http://stackoverflow.com/help/how-to-answer) to the question, instead of misposting comments. – user3078414 Jul 20 '16 at 17:21
  • 1
    It looks like this is an answer to "Does anyone have any idea of why the WebView does not show .mht file?" – Wai Ha Lee Feb 13 '22 at 18:53