[Free] Extended Web Viewer Extension

aix
webviewer
extension

#21

@Domhnall in a next update, we will add download support, so you won’t need to use Web component.


#22

When is this update coming out my friend. any estimated time?


#23

It gonna come this month.


#24

That’s funny I actually released a WebViewTools extension as well! :laughing: it contains very similar methods, setting and getting user agent .etc it also allows you to enable some more advanced features of the WebViewer which arent enabled by default!

You can find it at: https://thunkableblocks.blogspot.com.au/2017/06/webviewtools-extension-for-app-inventor.html


On button click,show loading.png for 3 sec
#25

Well, you didn’t publish it here, so we didn’t know. :slight_smile:, also our extension has a few other blocks.


#26

Yeah ahah I have been busy lately but that’s all good! it’s always nice to have a variety of extensions from different developers anyhow :smile:


#27

YUP :slight_smile:


#28

Can the Two similar extensions be merged?


#29

Not now, because we are working on a lot of new updates. It would impossible to merge now, but later maybe. Also, @Sivagiri_Visakan what’s your thoughts about this?


#30

Hi guys will this extension enable full screen videos like YouTube and other video sites?


#31

Yes, we are working on new update for that.


#32

Nice… keep up the good work


#33

Hmm… I tried to use this for one of my apps. I just was changing the userAgent but it gave me the following error: Attempt to invoke virtual method 'android.webkit.WebSettings android.webkit.WebView.getSettings()' on a null object reference


Runtime error : java.lang.String java.lang.Throwable.toString() on a null object reference
#34

First you have to use this block. Read description of all blocks to understand how it works.


#35

Hi All :wave: ,
Today myself and @ILoveThunkable release the Version 2 of the Extended WebViewer extension. This version includes support for downloading files that can’t be viewed directly in a Web Viewer.

Version 2

New blocks:

  • OnDownloadNeeded

    This event indicates that the content in the URL pointed cannot be viewed and needs to be downloaded . The event also provides additional info required to download a file using DownloadFile block .

    :one: content length is the size of the file to be downloaded in bytes.
    :two: contentDisposition is a header that is received from the server and contains necessary information to name the file automatically if the filename is left blank in DownloadFile block


  • OnDownloadFinished

    Indicates that the file has finished downloading .


  • OnErrorOccured

    Indicates that the webviewer encountered an error while loading a webpage
    Please refer to the codes from Android Documentation


  • OnLoadingStarted

    An event to indicate that a webpage has started loading ( either from Webviewer.GoToUrl or with the Reload block from this extension ).


  • OnLoadingFinished

    Indicates that the loading of a webpage is completed.



  • DownloadFile

    This function can be used to download a file using the default Download Manager of Android. Use this function in the OnDownloadNeeded to event to download a file .

Leave the filename empty to automatically name the file based on the information from the server

  • Show Notification

    Set this true to show notification of the download after completion.
    Note that a notification is always shown while the download is in progress. This block is only used to determine whether a notification is shown after completion .

:warning: Also the After Reload event is deprecated with this version as it was not accurate and fired before the webpage was completely reloaded. Use OnLoadingFinished block instead.


Download

Version 2 of the Extended Webviewer Extension :
com.ghostfox.moliata.ExtendedWebViewer.aix (14.6 KB)

If you have any questions, suggestions or encountered any bugs, feel free to post them here !


Download with external browser in thunkable webview
[Free] Releasing v5 of WEBVIEWTOOLS Extension
Site Loading...webviewer
Why when I create a webview application cannot be used for download
How to enable Download option without using WebViewer (any other website links)
[Free] Releasing v5 of WEBVIEWTOOLS Extension
I need my webview to also manage file downloads (typically pdf files) through a web component
[Free] Releasing v5 of WEBVIEWTOOLS Extension
How add another app like ucbrowser for download big files from thunkable app?
How can I make things downloadable from webviewer components?
How To Make Google Login From Web viewer
How to open external links within WebViewer in an external app?
Custom Webview Error Pages
Error with screen "Voti"
Notifier with Design
#36

I wanna to fix that this update is made only by @Sivagiri_Visakan, I did not help him, as I didn’t have time.


#37

Great Job


#38

I need all of those new blocks. Thanks so much :slight_smile: OnError is going to be so useful :slight_smile:


#39

Nice update @Sivagiri_Visakan and @ILoveThunkable!


#40

Wao a very extraordinary extension. well done guys. and @ILoveThunkable, it doesn’t matter mate, as you have said it is an update built on your original extension so well done guys @Sivagiri_Visakan and @ILoveThunkable