B4A Library WebViewExtras - warwound    
Oct 16, 2023   
(36 reactions)Hi all.
WebViewExtras is my latest library.
It's a much updated version of JSInterface.
WebViewExtras exposes more of the available native Android WebView methods to your B4A application:
addJavascriptInterface(webView1 As WebView, interfaceName As String)
Add a javascript interface to webView1,
link: WebViewExtras (original version) was updated to version 2.41 and can be downloaded from first post in this thread.
WebViewExtras2 latest version is 2
link: WebViewExtras updated to version 2.41
This update makes the executeJavascript method compatible with android API level 19+.
More info can be found he
link: Version 1.41 is the latest version of the original WebViewExtras.
WebViewExtras2 is available for download from my server (let me know if you want a l
B4A Question WebViewExtras (File Upload to Php) - josejad (first post)    
Apr 28, 2021   
(2 reactions)Hi:
Where did you get the example? In order to test it.
When you start typing, you get the help with the parameters you need.
As you can see, addWebChromeClient needs two parameters.
It should be
WebViewExtras1.addWebChromeClient(WebView1, "WebView1") 'for example
112409
link: The error say ", expected" so i guess you need to give one or more parameters to addwebchromeclient?
link: The code source below is originated in this site furom..
I change the source to my created Php File to Move Uploaded Photo To A Folder (pc localhost w
link: Your error clearly says a description is expected which is obviously a parameter of some sort. In your error line where is says WebView1, try the foll
Italian Problema visualizzazione webview - MarcoRome (first post)    
Sep 21, 2020   
(1 reaction)Dim WebViewExtras1 As WebViewExtras
link: WebViewExtras2 Rel 2.20 la trovi qui: http://b4a.martinpearman.co.-v2.20.zip
Le reference le trovi qui: http://b4a.martinpearman.co..html
Dim WebVie
link: 'These variables can only be accessed from this module.
Dim WebViewExtras1 As WebViewExtras
Dim WebView1 As WebView
End Sub
Sub Activity
link: Ho visto che c'è la WebViewExtras2 2.20.
Puoi provare quella.
Non avendola mai usata però non so se è la soluzione al tuo problema.
B4A Question WebViewExtras (WebView) touch or click on EditText - DeveloperNima    
Jan 16, 2021Hello dear friends
I want to touch EditText in WebView when touched inside the app Edit Text.
But I can not do that, Please guide me !
Thank you in advance for your effort .
link: works for me (as far as i went). when i type developernima into the user edittext in b4a, it appears in the correct field in the webview.
you have a
link: Hi Sir @drgottjr,
Unfortunately my question was not clear, I apologize.
When I write text in B4A it works normally in WebView of other sites.
But here
link: Please see the full source code first !
Private Sub BtnDeleteAccount_Click
WebViewExtras1.executeJavascript(WebView1, "document.evaluate('/html/b
B4A Question WebView SslError = 3 - Erel (first post)    
May 23, 2018It is WebViewExtras2.
link: What is the WebViewExtras lib version ?
I use WebViewExtras2 v.2.20 https://www.b4x.-https-workaround-how-to.23325/#post-334102
WebViewExtras lib v.1
link: This code works fine with an invalid SSL certificate:
Sub Globals
Private WebView1 As WebView
Private we As WebViewExtras
End Sub
Sub Activit
B4A Question Extract value from website - DonManfred (first post)    
Sep 24, 2018webviewextras is a b4a library. It is the right way to inject javascript.
Search the forum; there are some samples.
You need to know Javascript do write it though.
Webvieextras
link: The sample needs Webvieextras2, I have searched the forum but the library seems to be removed?
Found this one: http://b4a.martinpearman.co.-201403
link: i think you can use the sample you’ve pasted in B4A
I don’t know if there will be an easier way, but search about WebViewExtras.
You can se a sample
link: Here : http://b4a.martinpearman.co.uk/webviewextras/
B4A Question [SOLVED] Local file with URI fragments in a WebView - drgottjr (first post)    
Aug 10, 2020my solution answers your question. it does work. what did you do to make it not work? i tested it before i posted the solution.
webviewextras is a regular part of a regular webview. if you look at android's documentation, you would see that.
link: you can do it with webviewextras.
wex.executeJavascript(webview, "window.location.hash='#webview_loadurl';")
the only trick is timing. i had t
link: Thanks for giving me the chance to describe my problem more clearly. I'm not asking for URI fragments (also known as bookmarks). I'm familiar with it.
B4A Question WebViewExtras1.JavaScriptEnabled not work - cenyu (first post)    
Aug 11, 2020   
(2 reactions)WebViewExtras1.Initialize(WebView1)
' WebViewExtras1 now has all the methods and properties of WebView1 plus it's additonal methods and properties
' so you can use WebView1 to get/set WebView properties/methods
' or use WebViewExtras1 to get/set WebView1 properties/methods with the
link: I using WebViewExtras ver. 2.20
I am trying to call B4A sub from my web site
This below is my code but cant start b4a sub from html page loaded into W
link: I have it...But my html code does not reach the b4a sub
I think may be WebViewExtras1.JavaScriptEnabled=True is not enough?
link: You need a sub in your B4A code that is named "WebViewGoBack_Request" that will do the WebViewClient1.Back function in it:
Sub WebViewGoBack_Request()
B4A Question ChromeClient ? - drgottjr (first post)    
Apr 17, 2020webview is the view. webviewextras are the, ummm, extras. you add the extras to the view when you initialiaze them
link: Webviewextras is not a view.
Check the forum on how to implement webviewextras and chromeclient
link: Hello everyone, I would like to access https://meet.jit.si/xxxx with WebChromeClient, but the application closes, not giving any errors.
a greeting
B4A Question Webview Error - JohnC (first post)    
Feb 23, 2023   
(1 reaction)See this post for how to use WebviewExtras:
https://www.b4x.-examples-for-beginners.133703/
link: java:64)
at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:77)
at org.chromium.android_webview.AwContentsClientBridg
Page: 1  
2  
3  
4  
5  
6  
7  
Powered by ColBERT