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: WebViewExtras1.Initialize(WebView1)
websettings.setAppCacheEnabled(WebView1,True)
websettings.setSavePassword(WebView1,True)
websettings.s
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
B4A Question webviewextra - drgottjr (first post)    
Mar 25, 2020   
(2 reactions)you can set an "onload" event to fire from either the main page or an iframe (or, presumably, both). it can trigger an event in the app which you can handle. webviewextras1.42 is a 2-way street between the app and the webview. in your case, it's the webview talking to the app.
link: works no problem. when frame loads, it reports. when main page finishes, it reports... everything in attached image
link: In webviewextra 1.42 I would like to handle the event WebViewClient_PageFinished(Url As String).............
for pages loaded inside an iframe. Now
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 - drgottjr (first post)    
Jan 18, 2021   
(1 reaction)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 lot of unused code which makes things confusing, but, technically, the b4a part works. i didn't spend a lot of time looking at your javascript, so i
link: Hello 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 ad
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 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
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 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 [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 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
Page: 1  
2  
3  
4  
5  
6  
7  
Powered by ColBERT