I found that android.webkit.CookieManagerworks since api level 9,so I think itwill work since android2.3 inclusive.But recently I found that it didn't work on android2.3.6。
//setcookie
CookieSyncManager.createInstance(this.activity);
CookieSyncManager.getInstance().startSync();
CookieManager cookieManager = CookieManager.getInstance();
cookieManager.removeAllCookie();
cookieManager.setCookie(cookie_url,cookieNameString);
CookieSyncManager.getInstance().sync();
I have tested it on android3.2 and android4.1.2,and it all works.