CustomWebView : An extended form of Web Viewer

hi @vknow360, thanks for this great ext

I have a problem with download, while using this block you've made
I've downloading .BIN file form internet, but the file downloaded seem to be way smaller in size than the original.
The problem not happen when i downloaded it in chrome.

have any idea?

1 Like

Can you share download link?

1 Like

I'm trying to download a data image URI and I get that same error that @MathMan05 was experiencing earlier this year. Is there some activity starter method or extension to fix it.

1 Like

how to remove permissions ?

1 Like

I have another problem custom WebView gives runtime error that method not found for every method like createwebview setwebview and all please help

1 Like

It works absolutely fine for me.

1 Like

Maybe you should try reloading the page. If the issue persists then you will have to reimport the extension.

3 Likes

I am getting another issue i use everything as documentation and it works. But problem is it dose not open all websites. Like if i go to Google.com then its working but when i use https://webxm.rf.gd/ it fails.
i think customwebview cannot handle redirect urls because my website webxm.rf.gd id redirect to webxm.rf.gd/business/ and some times ?i=1 at end of my url. Please help

1 Like

Maybe problem is caused by certificate

3 Likes

I guess there was a option to ignore ssl not sure

1 Like

I used proceedsslerror.proceed =true but not working

1 Like

Also i can not go back from new window created using the documentation

1 Like

Something wrong with your logic.
Working fine for me.
image

3 Likes

It works now but how can i close new window and select multiple files at once in webviewer uploadfile please help.

For now i can only upload one file to my php server

First show what you tried.

Webview can be closed by removing that WebView and setting previous webview as active.

I tried your steps from your previous posts with some logic see them in pictur

And also see my geo location code because it dont work i cannot access location from JavaScript geo location api

For the extension i get this error

java.lang.NoSuchMethodError: No virtual method getOpenAnimType()Ljava/lang/String; in class Lcom/google/appinventor/components/runtime/Form; or its super classes (declaration of 'com.google.appinventor.components.runtime.Form' appears in /data/app/edu.mit.appinventor.aicompanion3-1/base.apk)
Note: You will not see another error reported for 5 seconds.

Nothing is working

Hi community please help i can't use customWebView properly. I need this app.
My needs are like, i have a JavaScript rendered website with
multiple file upload with
geo location
new Windows will appear then automatically
redirect to another page after some processing.
That's all I just need this three functionality in my WebView App. Please let me know how can i achieve this please help.

Android 11.

I have an HTML file and Javascript files loaded in the App's Media (The HTML calls the .js). With the standard App Inventor WebView, the HTML file can be loaded as below (screenshot), so I have tried to load it into the Custom WebView in a similar way, but get the following error:

Web page not available
The web page at http://localhost/MetaData.html could not be loaded because:

net::ERR_CONNECTION_REFUSED

The reason I'm trying the Custom Web View is that although the App Inventor Web View works well with my simple js files, it fails with a larger more complex file which works fine in a full browser.

2 Likes