I recently created an app that allows you to visit a website to which you can upload images. I want to upload pictures to the app but even after trying other solutions given by others, it still won’t work. In the website (opened in Chrome), a pop up appears as shown in the video below. It does not happen in the app that opens the website in a Web Viewer
What is supposed to happen.
What happens instead
Try CustomWebView Extension
Extension Name: CustomWebView
It is an extended version of web viewer with more customization and flexibility.Its customization and additional features make it different from Web Viewer although it uses same Web View class.
Latest Version: 8
Released: 2020-05-12T18:30:00Z (UTC)
Last Updated: 2020-07-23T18:30:00Z (UTC)
Requires: Android 5+
More customization options than normal web viewer
Long Click event
New window request event
Close window request event
Probably you have read in title , the name of extension is FileTools and features are similar to its name.
It provides tools to work with Files and Folders.
Latest Version: 10
Last Updated: 2021-07-11T18:30:00Z (UTC)
Returns path to application specific directory
Thanks to @bodymindpower for suggesting changes
Returns a list of available storage direct…
Will this same code open the pop-up that I showed at the top?
Yes It will enable you to upload almost all types of files
I’ll try it and see if it works
How should we create a Custom Web view? I got the extension but it is an invisible component.
Drag and drop extension on the mockup phone
How to use extensions?
We frequently see users on the community who don’t know how to use extensions.
This is from the App Inventor website
Extension components can be used in building projects, just like other components. The difference is that extension components can be distributed on the Web and loaded into App Inventor dynamically: they do not have to be built into the App Inventor system, and they can be imported into projects as needed. With extensions, the range of App Inventor ap…
After that you can use extension in block section as shown in the above blocks
Thanks but I know how to do it. I was asking that it isn’t visible on the mockup phone even after dropping it in. I saw a guide about it in another topic but the person who made it got banned. So I asked here.
Still my app shows a blank screen. Do I need to like do more blocking to make a web view from the extension?
Ok. I’ll try it again and see if it works.
Take a vertical arrangement and use blocks like these
Thanks for the coding. It works!
It works but I also wanted to say that I discovered a new problem and that makes all pages look like this. Only half of it is visible and it is a small portion of the screen that wasn’t expected. I used the first solution that
@Anu had given.
I tried to change the Vertical arrangement that had the Custom Web View in it to a Horizontal one, but no difference.
Please wait for the update it will be fixed by today.
Check now Update has been released.
So will the Web Viewer support file uploads?