Hi,

I am trying to figure out how to save a page that I load into a
Webview for the first time and then to load the cached version for
subsequent requests.

Anyhow, the following code doesn't work. I guess I will have to listen
to when the page has been fully loaded; then run the following code. I
searched the internet and it seems you can use javascriptinterface to
save the page within a window.load handler. But what about a page that
I don't have any control of?

private static CacheResult cacheRet;
// would like to know when to call this static method
CacheManager.saveCacheFile("http://www.cnn.com";, cacheRet);

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to