I am working on a Http Connections.
I have a login form. When the enter a username and password. That values will be processed with the server and the user should be logged in.
Then it shows an users home page in a webview. How to do it?
I am working on a Http Connections.
I have a login form. When the enter a username and password. That values will be processed with the server and the user should be logged in.
Then it shows an users home page in a webview. How to do it?
I'm not 100% sure if I understood your question completely right, but you might wanna check out this tutorial I wrote a few months ago. I hope that helps.
Once you got a positive response ("user logged in") from your http server you just open a new activity implementing a webview and opening that URL. Just keep in mind, that this URL will be publicly accessible, unless you add further security to it. But then it might be easier to implement everything withing a mobile website.