I am developing an Android application in which I have a WebView. I want to save the entire webpage loaded in this webview (Html + all resources + images + icons etc) into a folder and zip it and upload it to a server.
If you use WebView's saveWebArchive<http://developer.android.com/reference/android/webkit/WebView.html#saveWebArchive%28java.lang.String%29>, then it is saved in archive format. How do I get the Html and images back from this archive? Is there any documentation for the format of this archive? If I use addJavaScriptInterface to get the html as described here<http://lexandera.com/2009/01/extracting-html-from-a-webview/>, I still have to copy the images and other resources from the webview cache dir (/data/data/your app package/cache/webviewCache/). However I did not find webview cache dir (/data/data/your app package/cache/webviewCache/) in Icecream Sandwich. Is there a way to save the entire webpage displayed in webview along with resources in Android? Can somebody please help. I have to ship this feature ASAP. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

