🟨 WebViewExtra - Upload/Download Files with webviewer (and much more...)

I downloaded the latest version and it wasnt there but it was in the wveTestV2.aia you posted.

Update 2.1 release

  1. Added back the ability to set your own userAgent.

Thanks @S11 for spotting this.

My pleasure :+1:

Do I have to download this webViewExtra extension to completely disable the zoom controls? I don't even know how to do it, I'm a layman.

In a word, yes.

1 Like

I did the process and could not disable the zoom. The website I am adding to MIT is an application to manage my spreadsheet made in Google App Script. Application website: https://script.google.com/macros/s/AKfycbxlS3W7GCrtDPOH175H5PCo9a3omYL6hH5QO7AChGmY_ZadX7RVPO_c62vJsB4x29CG5A/exec.... when I test in MIT companion on my cell phone the zoom buttons are still active, this is a MIT app inventor thing!! Help me brother.

This works for me:

tested companion app and compiled app, Android 16 Google Pixel 8a.

1 Like

I tested and opened it in the MIT companion...But how do I disable those zoom buttons, friend? Which functions should I drag to disable the + and - buttons that are native to MIT? Those buttons that appear according to the print I sent asking for help.

Please show your relevant blocks, or upload your aia project here for me to take a look.



....My project is not exactly as you instructed me. I just want to disable the zooms - and + that appear when scrolling up and down the page.

Please upload your aia project, Testehoje, let me see if it works here. If it does, then it may be a device/Android thing.

What device are you testing with, and what Android version is it running ?

(edit - I have also tested on Pixel 8 Android 13, this also works OK for me)

1 Like

my device is motorola edge50fusion...
Testehoje_copy.aia (26.8 KB)

I missed that you were using "backpressed" and not initialise.

If you want to use BackPressed to load your site, that is OK, but you must use Screen1.Initialise to setup your webviewer with the extension, this means everything "gets set" before you do anything else.

1 Like

I didn't notice that, sorry... It's ok now. So which blocks should I drag to disable the + and - zoom in on my app?

It should be done without needing any other blocks, as per my documentation, zoom features are turned off by default

1 Like

Update 2.2 release

  1. Provides Geolocation permissions
  2. Provides method for camera and microphone permissions in webviewer

Can you add a way for me to download because I can't open the link due to blocks

What is blocking the download link? No issues here

When you have too many blocks spread out over too large a surface area,
the Blocks Editor hits a complexity limit when it tries to generate a blocks.png file for the screen.

There are two main approaches to deal with this:

  • Start a Google Doc with a Table of Contents explaining your app, with sections for Design, Data, Code, including Downloaded Png images of all Events, Procedures, Globals, and with html cross-links for easy navigation. Such a doc becomes easier to read than a complete blocks image, because you have FIND, Next, PREV, back functionality, and you can add paragraphs of commentary around your code. This is my preferred life saver when doing a very large complex app. If you go this route, try to arrange your blocks geographically in a column matching the order of your Table of Contents, then do periodic Clean Up Blocks to pull them inline. This sometimes lowers the load on the Blocks Editor.
  • Reduce your block count:
    • Use parametrized procedures for common code
    • Use Media text files instead of big clumps of text blocks
    • Use generic blocks instead of repeating component event blocks
    • Encode repeating decision patterns into lookup tables loaded from Media csv text files (does your blocks image look like a box of combs?)
    • You don't need a component for every data instance. Reuse those components.
    • If you can't fit data into a ListView or List Picker, show a small subset of the data in an Arrangement and slide it across the larger list of data.

Securely just a school blocker.