简体   繁体   中英

Android authentication and Web

I set up Contacts and Synchronization in the application I am developing. Authentication works in directly to the web site using DefaultHttpClient. That means I need to store cookies and every time user does something send it to server using that cookie. What is the better way to store the cookies? It seems CookieSyncManager only works with WebView. Or can I use it with DefaultHttpClient?

In the webview, there is a setting. I think this may help you:

WebSettings.setSavePassword(boolean save);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM