I want users that visit my website using their phone to get a cookie from me. Later, when they use my application, I want them to use the same cookie from the previous session.
Is that at all possible?
If not, is there a different way to maintain state information between browser sessions and app sessions?
Thanks for your time!
From the Android documentation (http://developer.android.com/reference/android/webkit/WebView.html)
So the short answer is no, you can’t access anything the main browser has stored in your app’s WebView.
I’m not entirely sure what you can do to get around it. Can’t you just store the session data on your server in a database and link it to a user account. Then you can have the app store their login details and automatically log in, which means they won’t need to type their username/pass every time they use the app and it can just sync their session details each time. To the user, it should look fairly seamless.