recognize click on webview!

Hi there,

is there a way to know about a click on a webview?

I have a webview that is redirected in the beginning several times.

so the listener give me different urls, thats fine, but for now i dont know

if this happend because the user clicked on a link or if the urlchange happend

because of redirection.

So, is there a way kind a webview.clicked or touched or anything else I could differenciate between

an automatic url change and a user forced one? (

Thanks

Chris

ps. and if there is no touch even for now, could u please implement one?

The webView should support a listener event for when URL’s are clicked on.  It might be possible if you have access to the HTML to put a javascript touch handler on the background of the page.  You might get an event to your listener.

Rob

Hi Rob, thank u for ur Answer.

The WebView has a Listener and shows me each URL that is opened, even while Redirection.

Thats fine. but I didnt got a Event when the WebView is clicked on as u say. That would be great!

Could u give a short example how to do so?

I dont have access to the HTML Pages that are displayed.

Greets
Chris

You won’t get an event unless you can setup some JavaScript on the actual page.  Since you don’t have access to the HTML, it’s a moot point.

Rob

Thank you for your kind Answer.

You may look that we get a Touch Response for Webviews also, like the original Webviews allow.

Thanks again

Chris

The webView should support a listener event for when URL’s are clicked on.  It might be possible if you have access to the HTML to put a javascript touch handler on the background of the page.  You might get an event to your listener.

Rob

Hi Rob, thank u for ur Answer.

The WebView has a Listener and shows me each URL that is opened, even while Redirection.

Thats fine. but I didnt got a Event when the WebView is clicked on as u say. That would be great!

Could u give a short example how to do so?

I dont have access to the HTML Pages that are displayed.

Greets
Chris

You won’t get an event unless you can setup some JavaScript on the actual page.  Since you don’t have access to the HTML, it’s a moot point.

Rob

Thank you for your kind Answer.

You may look that we get a Touch Response for Webviews also, like the original Webviews allow.

Thanks again

Chris