The Android app I am creating requires web authentication for users to make data calls. In Adobe AIR, and then on the iPhone, we did this by providing a web page login page equivalent to web browsing, and set a cookie when a user logs in. Subsequent data calls use the same Cookie Jar and are therefore considered authenticated.
In the Android version, I authenticate the user using WebView, and then, as soon as this is done, I make a data call using DefaultHttpClient, however I can not load the data during the second call.
Are there any cookies that I donβt have? I assume both HTTPClient and WebView will use the same cookie space. I am wrong?
Arpit source share