title: how to read .webarchive file in android
body: <p>I have a requirement like this. I want to read .webarchive File. I have one file with .webarchive extension and i have put that file in asset folder. I want to read that file on android webview. Is it possible?</p>
  
  <p>I googled and found some useful <a href="https://github.com/gregko/WebArchiveReader" rel="nofollow">link</a>. This git content is really helpful.In this what it does is, put extracted content of .webarchive file in asset folder and from there data is shown on webview. My query is that i don't want to put extracted content in asset. I have file in .webarchive extension and want it to be opened directly in  webview.</p>
  
  <p>i guees zipInputStream is just for file name with zip format extension,and another thing is that i read some where that only that zip files will be extracted with ZipInputStram which have been zipped with WinRar Software,Well in my case what i tried is I have tried to unizip webarchive file with follwing method <a href="http://pastie.org/8516247" rel="nofollow">http://pastie.org/8516247</a> and here is a log what i am getting</p>
  
  <p><a href="http://pastie.org/8516249" rel="nofollow">http://pastie.org/8516249</a>, </p>
  
  <p>now from this log you can see command is not even entering inside the while loop at line number 6 which is proved by this:</p>
  
  <pre><code> log 11-29 13:01:46.903: V/Decompress(19936): 1
  </code></pre>
  
  <p>And if i am using any zip file inplace of test.warc at line number 4 than command is entering in while loop,that means this ZipInputStream is completely ignoring .WARC file,isn't it?</p>
  
  <p>So if any one have idea how to extract .webarchive file or read .webarchive file without extracting it than please help me.</p>
  
  <p>If any one having idea then please help me</p>
  
  <p>Thanks</p>