Java tutorial
//package com.java2s; import android.content.Context; import android.webkit.CookieManager; import android.webkit.CookieSyncManager; public class Main { public static void clearCookies(Context context) { @SuppressWarnings("unused") CookieSyncManager cookieSyncManager = CookieSyncManager.createInstance(context); CookieManager cookieManager = CookieManager.getInstance(); cookieManager.removeAllCookie(); } }