title: How to properly deal with logout in the webview of android web wrapper app?
body: <p>I've been working on an web wrapper app. I use webview to load some webpage, which needs user log-in. In order to control log-in process to get automatic log-in, I created a log-in page locally and log-in process works fine. The log-in page will store user log-in info locally so that next time when user opens the app, log-in page will be skipped and logged in webpage will be displayed. </p>
  
  <p>However, I've met problems for log-out. How could user return to the local log-in page? What I'm thinking is to create a log-out bar above webview, with a log-out button there.Are there any better ways? </p>
  
  <p>What's even worse, there is also a log-out button on the webpage and that button will lead user to the online log-in page, which is not able to store log-in info locally since it seems there is no way to retrieve HTML text field info on webview and pass the info to Java (Or I'll have no need to have local log-in page any more). Is there a way to avoid this?</p>
  
  <p>Thanks!</p>