B4J Question BANANO how to load page in webview B4A&B4J ?

Michael1968

Active Member
Licensed User
Longtime User
Hi for a projekt i want to load a pwa created with Banano in a B4J and B4A webview.
I have startet with a short and dirty programm to load the Html in a b4j webview but it shows me nothing.
i have load the file as Url...and File..but nothing happen.

is there a solution to load an execute pwa in webview?

best regards
Michael
 

Mashiane

Expert
Licensed User
Longtime User
I renamed your view to "myform"

This seems to work but takes some time to appear. Your best bet should be to point the url to an enpoint on the server. I haven't used the assets directly for this.

webview.png
 
Upvote 0

Michael1968

Active Member
Licensed User
Longtime User
Hi Mash,
if i point to an endpoint like "https://b4x.com" webview works,
if i point to a page created with Banano , then it fails in webview but in Chrome the page work.

i have hosted the page on a rpi3 and it works with chrome without problem
I also startet on my local computer "usbwebserver" and host the page.
with chrome it's ok -> webview Fail

so for me it looks like webview is not with banano created pages
(the page is Alain's demo webpage)
 
Upvote 0
Top