Android Question keyEvent webview

Discussion in 'Android Questions' started by bernardR, May 25, 2019.

  1. bernardR

    bernardR Member Licensed User

    Bonjour à tous.
    I have an html file that detects keycodes via javascript when it is in chrome.

    When I display it in a webview only a few keystrokes are detected.
    I would like to be able to change some entries (for example the A in B) without making a customized keyboard.
    Is it possible ?
    Can we detect the keys in the b4a'code and change it before display ?

    The attached example shows the difference between the events in the webview and in chrome browser.

    Thanks
     

    Attached Files:

    Last edited: May 26, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    Why are you using WebView? It will only make the solution more difficult.

    The JavaScript is handled by the native WebView engine.
     
  3. bernardR

    bernardR Member Licensed User

    I am looking to save the data in html for use in web pages (and vice versa)
     
Loading...
  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