Michael, great idea, thanks for sharing!

On Jan 19, 2009 10:08 AM, "kolby" <[email protected]> wrote:


Nick,

I don't understand why you would want to clear the cache on a per page
basis. Usually I would do it on exiting the application. Also, if
you're generally not interested in caching, wouldn't it be better to
disable caching in your app, or per page:

// turn caching off
webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);

and use LOAD_CACHE_NORMAL for default behavior.

Michael

--~--~---------~--~----~------------~-------~--~----~ This message is part
of the topic "Clearing ...

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