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
  • 16,015
  • 11
  • 53
  • 110
eureka
  • 55
  • 5

1 Answers1

0

The WebView do not support .mht file type.

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

Adam P.
  • 1,039
  • 1
  • 8
  • 17
  • 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