rabarron / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Write data to file cache. #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use a WebView for HTML download in my application.
I'd like to save the HTML(String) to AQuery's cache.

For example:
String html = retrieveHTMLFromWebView(url);
aq.saveData(html, String.class, expire, callback);

and...

File cachedHtmlFile = aq.getCachedFile(url);

Is there a way of doing like this?

aq.saveData(url, html, String.class, expire);

something like this.

Original issue reported on code.google.com by tinyeeliu@gmail.com on 17 Apr 2012 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by tinyeeliu@gmail.com on 26 Apr 2012 at 5:56

GoogleCodeExporter commented 9 years ago
How was this fixed? Still cannot write arbitrary data to the cache, according 
to the javadoc. Or is it?

Original comment by adrian.s...@gmail.com on 18 Mar 2013 at 2:09