1

I have mht file in android asset folder i want to load in webview but when i start the app its shows me some scrap data so please help me Thanks in advance

Nikhil Virupakshi
  • 482
  • 2
  • 13
  • 26

1 Answers1

0

You can't do it directly...however there is a workaround mentioned here.Hope it helps..

Community
  • 1
  • 1
Snehal Poyrekar
  • 735
  • 5
  • 17
  • Hi leo, when i run the code and when i click the .mht file it shows a error in logcat TypeError: Result of expression 'doc.evaluate' [undefined] is not a function. at file:///mnt/sdcard/.mhtCache/97aa/webkitextensions.js:6 – Nikhil Virupakshi Aug 14 '12 at 04:55
  • When you load mht file in webview, it gives you unstructured content..I did load a mht file in the webview and it did not give me any error in logcat..please post some part of your code for further help.. – Snehal Poyrekar Aug 14 '12 at 14:09