CustomWebView : An extended form of Web Viewer

Hello there,
im very new to this MIT app but im so glad i started to learning it.
i want to create my own webviewer with CustomWebviewer by @vknow360 .
and im using page up and page down procedure.
The problem is the scroll is too much. i already set the boolean to false, but the scroll distance still too much. i just need about a half about that distance. How can i do that in "page up and page down procedure"?.

thanks so much for your help .

how i do that, or link please

No method to control that. There is flingScroll method to programmatically replicate fling (finger scroll with some acceleration) behavior, but you may not like that.
top parameter determines whether to scroll towards top (if true) or bottom (if false).

Hi there,
Thanks for this great extension!

I'd like to know if there is a way to remove or change the overlay color (light blue) when clicking on a link on the web page.
ai2_webviewer_lightblue_hoverlink

It shows the page but I can not download it.


downloadTest.aia (77.5 KB)

Why is fileName argument empty? :thinking:

even with a file name the result is same.
resim

And what's the issue?

Nothing happens, it just shows the picture but does not download it. As you see, to check if the downloading happens, i gave the command "change the button text" and also it does not change.

OnDownloadNeeded event is never triggered then.

yes, exactly this is what I mean.

  • did you check the aia file?

https://upload.wikimedia.org/wikipedia/commons/5/58/M6_hatt%C4%B1_%28Bo%C4%9Fazi%C3%A7i_%C3%9Cnivetsitesi%29_2024.jpg

This is a viewable url, not downloadable url.

Ok, i understood, thank you

I'm facing an issue installing APK files.
I keep getting the error message "App cannot be installed because the package appears invalid" when trying to install or update apps.
I'm using a custom WebView version 12.0. I've narrowed down the issue to the "DownloadHelper" and "BrowserPromptHelper" extensions. Remove both resolves the error, but add either one causes the "invalid package" message to reappear.
My device is a Samsung Galaxy A51 running Android 13, Knox 3.9, and Knox API level 36.

image

I'm currently limited to adding only CustomWebView to the components. Adding the other two extensions, "DownloadHelper" and "BrowserPromptHelper", immediately results in an error, regardless of whether I use their blocks or not.

image

Please have you been able to solve the blob link not downloading issue. I have been up all night looking for solution, but can't fined one.

Even if there is not solution now. I want to handle the blob url outside the WebView like, for activity starter to push the download to an external browser. Please how can I set it, I want when the download button inside the WebView is clicked, the download should be down in external browser, since WebView can't download blob link.

com.sunny.CustomWebView.aix (225.1 KB)

Still experimental feature. If you try to download blob file then GotBase64FromBlob event will be triggered.

I tried it, but when I click on download. Nothing happens, this is my blocking, I don't know if am doing anything mistake

Even if the blob download can't be done inside the WebView,, please can you teach me how to make activity starter handle it in external browser, like when the blob download button inside the WebView is clicked, the download should happen in external browser instead of inside the WebView. Please can you.