how to read .webarchive file in android

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?

I googled and found some useful link. 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.

  • What are the purpose of the bare git repositories in .repo/projects/ created by the Android repo script?
  • Adding plugins from specific revision Github project to the Cordova project
  • repo about .git/HEAD: error: manifest missing or unreadable — please run init
  • Why build and libs folders in Android project can't be commited or pushed?
  • Eclipse Android and gitignore
  • Can't clone from GitHub in AndroidStudio 2.1 Beta
  • 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 http://pastie.org/8516247 and here is a log what i am getting

    http://pastie.org/8516249,

    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:

     log 11-29 13:01:46.903: V/Decompress(19936): 1
    

    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?

    So if any one have idea how to extract .webarchive file or read .webarchive file without extracting it than please help me.

    If any one having idea then please help me

    Thanks

  • Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). fatal: Could not read from remote repository
  • How to Add a File in .git Directory to Track It?
  • Git pull without checkout?
  • Can I make git recognize a UTF-16 file as text?
  • What are the differences between git cherry-pick and git show | patch -p1?
  • hg equivalent of git add -p?
  • One Solution collect form web for “how to read .webarchive file in android”

    WebKit Bugzilla

    Bug 42716 – Implement WebArchive for Android

    That was RESOLVED WONTFIX in 2012.

    Still, what’s there could be a good starting point, or point of continuation towards an acceptable answer to this question.

    Git Baby is a git and github fan, let's start git clone.