Home » Android » html – Android: Display .mht or .mhtml in Webview in Application

html – Android: Display .mht or .mhtml in Webview in Application

Posted by: admin May 14, 2020 Leave a comment

Questions:

We are developing an application in which we need to display a Presentation (PowerPoint) file (.ppt or .pptx)..
We have heard that no API is available in Android to display Presentation files within our application.
So we tried to convert that Presentation file to “.mht” format as we have heard that WebView is capable of showing .mht files and .mht can have Presentations also..

Now my question is: how can we view .mht files properly in Webview..?

We already have referred these links mentioned below:

WebView Load Mht file in Android
Display .mht file on android
Android WebView -> Display WebArchive

Somehow the links mentioned above have helped, but not as expected..
Any further help would be appreciated..

How to&Answers: