I know about the existince of CookieManager, but how do I remove cookies of a domain only?
Can someone help me with some code fragment?
I know about the existince of CookieManager, but how do I remove cookies of a domain only?
Can someone help me with some code fragment?
I don't see anyway to do this in the API, but you can always dig into the real source code (open source is nice)... for example, I found this deleteCookies
method in this class: WebViewDatabase which is part of the core of Android.
As you can see there... cookies are just rows into a SQLite Database... so if you can make this class work, at least you know how to do it by your self.