android.webkit

grant1842

Active Member
Licensed User
Longtime User
I am looking to use use public void removeAllCookie () method in the CookieManager Class HERE CookieManager | Android Developers

I am trying this code but no luck.
B4X:
 Dim r As Reflector
    r.Target = r.GetContext
    r.Target = r.RunMethod("getContentResolver")
    r.RunStaticMethod("android.webkit.CookieManager", _
        "removeallcookie", Array As Object(r.Target), Array As String("android.content.ContentResolver"))

Thanks for any help getting this to work
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…