tags:

views:

26

answers:

0

Hello,I am a Android learner.I meet a problem recently.

1.I want obtain the post data with WebView.The wbatail.html form use this

<form name="accountsave" method="post" action="load_ok.jsp">
<input name="moneyCounter" format="*M" maxlength="12" emptyok="true" size="12"/><br/>
<input name="passWord" type="password" maxlength="12" format="*M" size="12"/><br/>
<input type="submit" value="submit" class="mobileBtn" id="login"/>

When I click the submit button,i want obtain the data with Webview.How can I get it?

I try use this

mWebView1.setWebViewClient(new WebViewClient(){
public void onPageStarted (WebView view, String url, Bitmap favicon){
}
});

it is unuseful.when the onPageStarted be called ,the data had send to the servers.

2.Is the view contain the Post data?

Thank You very much!!!