Android Question Activity click WebView

Discussion in 'Android Questions' started by Noel, Feb 10, 2015.

  1. Noel

    Noel Member Licensed User

    I've got a simple app with just as Activity a WebView in it (loading a local flash file)
    WebView is set to 100% screen filling.

    I would like to exit the app (ExitApplication) when clicked on the Activity WebView.

    Sub Activity_Click
    End Sub
    For some reason I can not get this to work when using WebView!

    Does Activity_Click not work when clicking WebView?
  2. Erel

    Erel Administrator Staff Member Licensed User

    No. WebView consumes the touch event.

    You can probably add JavaScript code to the web page that will navigate to a different url. You can then handle OverrideUrl event and do whatever you like.
  3. Noel

    Noel Member Licensed User

    Understood and will test it.

    Thank you.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice