I have a webpage which contains username and password fields. In Android WebView, I loads that page and enter the user credentials to login. Now if the user logs out and logs in again, I want the previous username and password values to be retained in the fields of the WebView where we enter the credentials. I have seen some methods like setHttpAuthUsernamePassword,savePassword like this in WebView class of Android. I've tried with these methods to save the credentials and tried to get the values by this method getHttpAuthUsernamePassword. But it is not working. May I know how to do this using these methods or is there any other way to do this?
2
votes
Did you find a suitable solution? I am facing the same challenge.
- abhishek maharajpet
3 Answers
0
votes