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
My blocks
Thanks!
Anu10
(Anu)
July 30, 2021, 4:40pm
2
Try CustomWebView Extension
1.Introduction
Latest Version : 11
Released: 2020-05-12T18:30:00Z (UTC)
Last Updated:2021-07-12T18:30:00Z (UTC)
Required Api : 21
Permissions: android.permission.WRITE_EXTERNAL_STORAGE,android.permission.ACCESS_DOWNLOAD_MANAGER,android.permission.ACCESS_FINE_LOCATION,android.permission.RECORD_AUDIO, android.permission.MODIFY_AUDIO_SETTINGS, android.permission.CAMERA,android.permission.VIBRATE,android.webkit.resource.VIDEO_CAPTURE,android.webkit.resource.AUDIO_CAPTURE,android.launcher.permiss…
or
1.Introduction
Description: 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.1
Last Updated: 2021-10-08T18:30:00Z (UTC)
2.Blocks
[image]
[image]
[image]
[image]
[image]
[image]
3.Documentation
[component_method]
Returns path to application specific directory
Thanks to @bodymindpower for suggesting changes
[image]
Returns a list of available storage directories.
[blocks%20(18)]
Copies…
1 Like
Will this same code open the pop-up that I showed at the top?
Thanks!
Anu10
(Anu)
July 30, 2021, 5:11pm
4
Yes It will enable you to upload almost all types of files
I’ll try it and see if it works
Thanks!
1 Like
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…
1 Like
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.
Thanks!
1 Like
Anu10
(Anu)
July 31, 2021, 6:45am
13
Take a vertical arrangement and use blocks like these
1 Like
Thanks for the coding. It works!
Thanks!
1 Like
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 @Anu10 had given.
Thanks!
I tried to change the Vertical arrangement that had the Custom Web View in it to a Horizontal one, but no difference.
Anu10
(Anu)
August 2, 2021, 7:58am
17
Please wait for the update it will be fixed by today.
1 Like
Anu10
(Anu)
August 2, 2021, 1:15pm
19
Check now Update has been released.
So will the Web Viewer support file uploads?