Try to over ride this method onPageFinished(WebView view, String url).
This method will be called every time a page loaded in your webview.
In this method check the loaded url is the final url or not.
@Override
public void onPageFinished(WebView view, String url) {
Log.d(DEBUGTAG, "onPageFinished"+ url);
if(url.contains("header")){
// do whatever you want to do here.
}
super.onPageFinished(view, url);
}
On Sun, Nov 20, 2011 at 10:38 AM, shashi asanka
<[email protected]>wrote:
> You mean after entering your details and click something your page
> doesn't load to to same place (I mean same web view )
> is that your problem ?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en