Android: HttpClient与Webview共享cookies
httpclient与webview需要进行cookie 共享,因为如果不共享,那么假设你在httpclient进行了登录,然后用webview里打开那些login之后才能看的page,就会叫你再login
DefaultHttpClient httpclient=….;
String toUrl=”https://cap.cityu.edu.hk/studentlan/details.aspx…..”;
List<Cookie> cookies = httpclient[……]