Is there a way to force the Android Keyboard shown in a webbrowser:
Currently, the keyboard shows an (CrLF) key. I'd like to execute a DONE operation so the JScript will execute.
Is there a way to get a keyboard DONE function from this?
Regards,
Rusty
B4X:
Dim WebView1 As WebView
Dim WebViewExtras1 As WebViewExtras
Dim WebViewSetting1 As WebViewSettings
...
WebView1.Initialize("WWW")
WebView1.JavaScriptEnabled=True
WebViewExtras1.addJavascriptInterface(WebView1, "B4A")
WebViewExtras1.addWebChromeClient(WebView1,"Chrome")
WebViewSetting1.setDatabaseEnabled(WebView1, True)
WebViewSetting1.setDatabasePath(WebView1, "")
Activity.AddView(WebView1, 0, 0, 100%x, 100%y)
WebView1.LoadUrl("file:///android_asset/journey1.htm")
...
HTML:
<form action="/form/button" action="get">
<label class="question top_question" for="q2">
What was it? <b class="icon_required" style="color: #FF0000">*</b>
</label>
<textarea name="q2" rows="3" style="width: 100%">
</textarea>
<input type="submit" name="q2" class="OK" value="OK" />
</form>>
Currently, the keyboard shows an (CrLF) key. I'd like to execute a DONE operation so the JScript will execute.
Is there a way to get a keyboard DONE function from this?
Regards,
Rusty