You may try this: XWalkUIClient.onPageLoadStopped or 
XWalkResourceClient.onLoadFinished.
They both works for the same purpose, but XWalkUIClient.onPageLoadStopped has a 
parameter XWalkUIClient.LoadStatus.

There is also one api like JavaScript DOMContentLoaded in java side: 
XWalkResourceClient.onDocumentLoadedInFrame.

As far as I know, you cannot check  the load status of a special tag. You can 
only check the load status of the dom tree with above apis.

Regards,
Xing

-----Original Message-----
From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Mario 
Giammarco
Sent: Thursday, February 11, 2016 3:52 AM
To: [email protected]
Subject: [Crosswalk-help] [newbie] How can I understand if a page was loaded 
correctly?

Hello,
I am using crosswalk in an Android app as an embedded browser for webrtc.
When I load a page how can I understand from java code if page has loaded 
correctly?
For example I can check if I have a specific tag in html dom but how can I do 
it from java side?

Thanks in advance for any help,
Mario

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to