Hi,
My application maintains a session with to a my server using cookies.
One feature requires opening a Web View to a URL on my server.
Before showing the Web View, I do syncCookie() (see below).
The feature works on the emulator but does not work on the device
(2.1).
Any ideas?
ThnX!
public static void syncCookie() {
CookieSyncManager mgr =
CookieSyncManager.createInstance(Screen.activity);
CookieManager cookieManager = CookieManager.getInstance();
cookieManager.removeSessionCookie();
cookieManager.setCookie(ServerProxy.URL,
ServerProxy.sessionId);
mgr.sync();
}
--
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