WebViewStringChange block

Hello.
I would like to use the WebViewExtra1.aix extension, but there is no WebViewStringChange block. Where would I find the latest extension?

Senior1954

1 Like

You might take a look on these extensions :arrow_down:

You use the webviewer webviewstring blocks.

Now it ends up giving me an error:

Argument #2 (uk.co.metricrat.webviewextra.WebViewExtra@619b354) to 'uk.co.metricrat.webviewextra.WebViewExtra.SetWebviewer(com.google.appinventor.components.runtime.WebViewer)' has wrong type (uk.co.metricrat.webviewextra.WebViewExtra) (expected: com.google.appinventor.components.runtime.WebViewer)

Are you initialising the webviewextra extension with the webviewer correctly?

image

Show your relevant blocks.

Ok, show the content of upb64.html.

I presume this somehow returning a JSON string with a filename and a base64 string?

And explain what it is you are trying to do...

Hello.
I'm trying to find some extension that respects the change on Android 14+ (with targetSdk 34) and allows you to copy from ASD to Documents/Zaloha. And if necessary, copy from Documents/Zaloha to ASD. I am communicating with Anke about that...

You can do it with webviewextra, but you may need SAF to access the file. Webviewextra can be setup to save to the ASD as well. I believe the html file you are using is for getting a file from a Shared Directory TO the ASD, using webviewextra and blocks combined.