I have a Service for my Android app that performs HTTP calls. The Service stores cookies in a CookieStore. I am trying to find a way to persist the CookieStore but I haven't been successful. I don't want the user to log in every time to receive a new CookieStore.
I tried to use SharedPreferences to store the CookieStore as a string, but I can't re-construct the CookieStore with a String.
Has anyone else had success in persisting a CookieStore?