bernardR Member Licensed User Longtime User May 25, 2019 #1 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 Attachments keyEvent.zip keyEvent.zip 8.7 KB · Views: 337 Last edited: May 26, 2019
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
Erel B4X founder Staff member Licensed User Longtime User May 26, 2019 #2 Why are you using WebView? It will only make the solution more difficult. The JavaScript is handled by the native WebView engine. Upvote 0
Why are you using WebView? It will only make the solution more difficult. The JavaScript is handled by the native WebView engine.
bernardR Member Licensed User Longtime User May 26, 2019 #3 I am looking to save the data in html for use in web pages (and vice versa) Upvote 0