In my Android app, I use an EngineSession (rendered by an EngineView) to display data. In actual fact, this data is plain JSON. Is there a way I can crawl/scrape the HTML directly from the EngineSession so that I can have access to the JSON being returned?
If I was using a WebView, I could have used WebView's evaluateJavascript()
function.
The only EngineSession functions I can see that can potentially export the HTML data are:
- requestPdfToDownload()
- requestPrintContent()
But neither of these functions gives direct access to the raw HTML being displayed. How can I go about this?
I would appreciate any help or pointers.
I did some research. then
webview
deployment was noticed in the following situation.It is loaded into the relevant webView.
If you can access the
engineSession
. you can use