Android Question B4XView versus Webview

Elby dev

Member
Licensed User
While converting an b4a program to b4xpages (as I want it to be b4a/b4i usable)
I thought to make all objects b4xviews. But when declaring a Webview1 as B4Xview the methods LoadUrl and LoadHtml simply are not there anymore
After soul searching I found
Declaring it as Webview1 as Webview all is fine and can implement loadUrl and LoadHtml
My question is: Is there a way to use LoadUrl and LoadHtml AND have the Webvieuw as B4XView? Or do I stick to declaring it as webview?
This might help others as well
Thank You
 

Elby dev

Member
Licensed User
Thank's Manfred It happens when you are in 'Visual Designer' and create the members the option is there to have this view as webview or as b4xview
so if they are not related why have the option? But now I know Thank you
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
the option is there to have this view as webview or as b4xview
as far as i know you CAN NOT use b4xview with any complex View like Webview. B4XView is a wrapper about native Views like Label, Edittext and so on.
It does not make sense to me to use B4XView with a Webview.

Additional a Webview is ANDROID ONLY.

A B4J or B4i Webview depends on other things. B4i depends on a complete different Programming Language too.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…