G GiulioVale Active Member Licensed User Longtime User Oct 28, 2014 #1 Any possibility that webview newer call PageFinished method when is used webview.loadhtml instead of webview.loadurl ?
Any possibility that webview newer call PageFinished method when is used webview.loadhtml instead of webview.loadurl ?
Erel B4X founder Staff member Licensed User Longtime User Oct 28, 2014 #2 Not sure that I understand the question... Upvote 0
G GiulioVale Active Member Licensed User Longtime User Oct 28, 2014 #3 Erel said: Not sure that I understand the question... Click to expand... ehehe sorry for my really bad english. When you use webview with webview.loadurl method PageFinished method is fired because the load is completed. The same not appen with webview.loadhtml. In the next time I try to make an example and upload Upvote 0
Erel said: Not sure that I understand the question... Click to expand... ehehe sorry for my really bad english. When you use webview with webview.loadurl method PageFinished method is fired because the load is completed. The same not appen with webview.loadhtml. In the next time I try to make an example and upload
Erel B4X founder Staff member Licensed User Longtime User Oct 28, 2014 #4 I just did a small test and the event did fire. The URL parameter is: file:///private/var/mobile/Containers/Data/Application/4F7E5E26-5D8A-4E51-BE79-D842F6CC306F/tmp/virtual_assets/ Upvote 0
I just did a small test and the event did fire. The URL parameter is: file:///private/var/mobile/Containers/Data/Application/4F7E5E26-5D8A-4E51-BE79-D842F6CC306F/tmp/virtual_assets/
G GiulioVale Active Member Licensed User Longtime User Oct 28, 2014 #5 Ok my fault . B4A signature for pagefinished is WebView1_PageFinished (Url As String) instead for b4i pagefinished is WebView1_PageFinished( Success As Boolean, Url As String) so simple copy and paste not work The only difference is that b4i always call OverrideUrl intead b4a no. (attached the example b4a, b4i that show this) Attachments webview.zip webview.zip 5.2 KB · Views: 616 Upvote 0
Ok my fault . B4A signature for pagefinished is WebView1_PageFinished (Url As String) instead for b4i pagefinished is WebView1_PageFinished( Success As Boolean, Url As String) so simple copy and paste not work The only difference is that b4i always call OverrideUrl intead b4a no. (attached the example b4a, b4i that show this)