On Fri, Dec 9, 2011 at 4:15 PM, Brion Vibber bvibber@wikimedia.org wrote:
To ensure that bookmarked or 'saved' pages are consistently available, either a homebrew loader cache with some smarts or something like the existing URLCache should help; but it'd need to be changed to handle images better etc.
I prefer the homebrew loader cache, since it allows standard HTML security separations to stay in effect (assuming PhoneGap doesn't disable them all, which it might considering that the file: pages can do anything to the iframe).
Bad news: that (WebViewClient.shouldInterceptRequest) seems to only be available on Android 3 and later. Manually loading as with URLCache should work though. Sigh...
-- brion