Display .mht file on android

bheema picture bheema · Jul 19, 2012 · Viewed 10.5k times · Source

How to display .mht(MHTML) file on android webview. I tried to open the .mht file on default android browser but that didn't open but i am able to open same on opera mobile browser. So i tried with MHTUnpack java library. I didn't succeed in that.

Here's a link!

Please if anybody has used this MHTUnpack let me how can i use that in android. And also let me know if there is any other library.

Thanks

Answer

Chitranshu Asthana picture Chitranshu Asthana · Jul 27, 2012

Found this unknown google project which appears to be working.

This utility decodes the mhtml file and save it on given path(internal or external). After saving it returns the html file path which could be loaded into webview.

Try it.