I've created a webview to show a web application with a login form and other…
Now, I have to send periodically the position to an url on the same server of web application, I think with xhr.
The problem is that I must passing with get, a cookie generated by web application in the webview.
Is possible to get a cookie generated by webview to use with application?
> To use the cookie when the webview is active, you should be able to
webview.evalJSto get the value of the cookie. To facilitate this, either you can get all the cookies and look for it in the mobile code or you can add a JS function in your web file (HTML/PHP, JSP etc) to just return that cookie.
> To use the cookie when the webview is not active anymore, then get the cookie value as explained above and store it in app properties. (assuming the values are still valid after the web view is gone)