Maintain session between HttpUrlConnection Calls (Native/Webview)
问题 Let me start with what I desire : I want to make an app which is part native and part webviews . Problem - Maintain a session between native and webview parts. My Approach to handle this: I intend to implement a native login, in which I present the user with two EditTextboxes and a button, the user enters credentials and I post them as JSON to the server. The Server responds with success or false. Based on Success flag I read the header values for this connection and extract the SessionCookie