I Try to find a topic with solution for this problem, but i didn’t find.
When i use method LoadHTML in WebViewer, even a simple html, app crash…
I Try to use CustomWebViewer too but same result.
Thank you for support.
I Try to find a topic with solution for this problem, but i didn’t find.
When i use method LoadHTML in WebViewer, even a simple html, app crash…
I Try to use CustomWebViewer too but same result.
Thank you for support.
Solved with NoFileHTML Extension, but WebViewer LoadHTML still not working
use logcat to find out why
Taifun
Several times I tried to connect the device to do a logcat and I always had errors from the device, adb, driver, server, etc.
With this extension it was very easy for me to generate log.txt
Show blocks.
The html code below is shown properly at the Text_Box1 but Web_Viewer is always empty and I get the following error message:
java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference at com.google.appinventor.components.runtime.WebViewer$MyWebViewClient.shouldInterceptRequest(SourceFile:282) at WV.S6.a(chromium-TrichromeWebViewGoogle6432.aab-stable-699813533:92) at org.chromium.android_webview.AwContentsBackgroundThreadClient.shouldInterceptRequestFromNative(chromium-TrichromeWebViewGoogle6432.aab-stable-699813533:17)
The text submited to the web_viewer is as below:
<html><head><meta charset="UTF-8">
</head><body><table border="1"><tr><td>123456789098</td><td>Gourmet</td></tr></table></body></html>
what happens if you try a simple test project, as simple as possible?
Taifun
I tried a project with “when Screen1 initializes” and “Web_Viwer” with the same text above. Same error.
✨ [Free] NoFileHtml - view html without files - Extensions - MIT App Inventor Community avoid html to load in web viewer, try this extn
Works, thanks
Now added in the bug tracker thread
Taifun