Well, I suggest that you yourself parse the string into an array. Then it will be something similar in standard Java:
String[] x = Pattern.compile(";").split(CookieManager.getInstance().getCookie());
Now you have a couple of pairs of names and values ββthat you can further analyze and then save.
source share