Javier Alonso Member Licensed User Longtime User Sep 9, 2020 #1 Hi, I am using this wonderful Webreader library from Informatix https://www.b4x.com/android/forum/threads/epubreader-webreader.72560/, but I need to access the onPageFinished event of the underlying Webview. What I want is to use a WAIT FOR sentence to ensure that a page is fully loaded before scrolling. I have tried with a JavaObject to access the Webviewclient as follows: Code: Copy Dim jo as JavaObject = WbRd Dim cl as JavaObject = jo.RunMethodJO("getWebViewClient", Null) But I don't know how to go on. I would like to end with a Wait for (cl)... to stop the program flow until the page loads. Thank you for your help. Javier
Hi, I am using this wonderful Webreader library from Informatix https://www.b4x.com/android/forum/threads/epubreader-webreader.72560/, but I need to access the onPageFinished event of the underlying Webview. What I want is to use a WAIT FOR sentence to ensure that a page is fully loaded before scrolling. I have tried with a JavaObject to access the Webviewclient as follows: Code: Copy Dim jo as JavaObject = WbRd Dim cl as JavaObject = jo.RunMethodJO("getWebViewClient", Null) But I don't know how to go on. I would like to end with a Wait for (cl)... to stop the program flow until the page loads. Thank you for your help. Javier
Javier Alonso Member Licensed User Longtime User Sep 20, 2020 #2 Solved, sorry, it was too easy, the WebReader includes the event Upvote 0