Android Question Problem using WebView (and WebGL ?)

FabioAlbaneseTv

Member
Licensed User
Hi everyone
I can't understand the source of this problem.
I'd like to make an app that incorporates simple games made by kids using TurboWarp.
TurboWarp's output file is an HTML and JavaScript file.
An example is available at this link:

If I open this link from my Android smartphone or tablet, as well as from my PC, I can view and play the game.

But this doesn't work if I open it using WebView from a simple App built with B4A or B4J using command:

B4X:
WebView1.LoadUrl ("https://www.videomediafiles.net/tommy/fishgame.html")


From what I understand the browser wouldn't support WebGL, but how is it possible that the original Android browser supports it and WebView doesn't?

Thanks for your help
 

drgottjr

Expert
Licensed User
Longtime User
seems to work ok for me. i see fish and stuff...

as to your question:
how is it possible that the original Android browser supports it and WebView doesn't?
google's documentation clearly indicates that webview does not support all the features of a normal web browser
 

Attachments

  • fabio.png
    fabio.png
    92.7 KB · Views: 92
Upvote 0
Top