Answer the question
In order to leave comments, you need to log in
How to view the content of a web page through a webview?
There is a website that changes its content and is viewed through a webview. How to make a comparison? For example, every 30 minutes the program should refresh the page and determine if there are changes on the page, if there are any, then inform the user.
Answer the question
In order to leave comments, you need to log in
It is not clear exactly how the content changes, but there is a radical solution:
- Every 30 minutes, just pull the content in the application with the http client, then use the parser to isolate the places that need to be tracked for changes, for example, make a hash of this content and compare accordingly.
In more detail, you can understand how to decide if there is accurate information about what changes and how.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question