Android Question Detect if New Webpage Loading

mangojack

Well-Known Member
Licensed User
Longtime User
Hi and best wishes for the new year to all ..

I am now lost for ideas.
With a WebView loaded , is there anyway we can immediately detect if the user has clicked a Link / gone to different URL . I am aware of PageFinished event .. but need more of a NewPage event.

I'm presently using WebViewExtras2 (v2.00) lib for other methods. I know v1.5 has a Progress_Changed method .. which (thinking while typing) could be used to set off bells, but cannot use the two together.
I have also looked at WebExteneder lib (v1.5)

Many Thanks
 

DonManfred

Expert
Licensed User
Longtime User
have you checked whether the event
B4X:
Sub www_OverrideUrl (Url As String) As Boolean
End Sub
could be used to catch the url?
 
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
Thanks @DonManfred .. only ran quick test .. but looks like it will solve my problem.
More important issues like 'Sleep' now take center stage.;)
 
Upvote 0
Top