views:

216

answers:

1

In My FBLoginActivity there is a error message "cookies required" with yellow background has shown. how to remove it or how can i rectify it?

+1  A: 

Try

 WebSettings settings = webView.getSettings();
            settings.setJavaScriptEnabled(true);
            settings.setSaveFormData(false);
            settings.setSavePassword(false);
            CookieManager cookieManager = CookieManager.getInstance()
            CookieSyncManager.getInstance().sync();
            cookieManager.setAcceptCookie(true);

put breakpoints and see if you have cookies

Alex Volovoy