嘿,我怎样才能读取cookie的值?
例:
String cs = CookieManager.getInstance().getCookie();
System.out.println("Cookies string: "+cs);
Run Code Online (Sandbox Code Playgroud)
这将给我一个字符串,必须解析为';' 和'='.是否有"cookie string reader"或smth?有没有其他方法可以在webview中只读取一个特定cookie的值?
谢谢!