Hi friends,
                  to get the cookies ,i have given the below code snippet,

                 CookieSyncManager csm =
CookieSyncManager.createInstance(Login.this);
                csm.startSync();
                CookieManager cm= CookieManager.getInstance();
                CookieManager cookieManager = CookieManager.getInstance();

                cookieManager.setAcceptCookie(true);
                String cukies=    cm.getCookie("http://cms.beemedia.com/";);

                System.out.println("cookiee  "+cukies);
                cm.setAcceptCookie(true);
                boolean b_cookie=    cm.hasCookies();
                System.out.println("booolean  "+b_cookie);
wen i run it on emulator it will show the cookie,but wen i run on device,it
shows null,and i have given INTERNET PERMISSION,still not working.
Any help greatly appreciated.
-- 
 Regards,
Vani Reddy

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to