Android Question What is the B4A Equivalent of the VB6 Webbrowser?

androit

Member
Licensed User
Longtime User
I know there is the WebViewer in B4A but it doesn't have the VB6 Webbrowser functionalities such as BeforeNavigate, etc. Has anybody found a workaround or maybe a third party object that I can add to my project? I need a program that knows in advance what page the browser will show and then to either allow it or cancel the navigation and redirect it to another webpage.
 

androit

Member
Licensed User
Longtime User
B4A WebView is the standard Android WebView.

You can handle the OverrideUrl event. It is raised when the user clicks on a link. It allows you to redirect the page to a different url or to just do nothing.

I'm a newbie and I didn't know there was such a thing as an OverrideUrl event. I will search more about it and its related events and hopefully will be on my way to creating my first serious Android program! Thanks so much Erel!
 
Upvote 0
Top