How can you get the value from the site is valid and transfer it to android

Let's say from this site get the number (120 296) subscribers and cram it into the variable int a; This example took

and let's say when updating it to change to a new one (which will be on the site)

:) forgive me for explaining stupidly, but direct me to the right path :)

  • You need to study the topics: - Parsers html / xml - Sending / receiving data to / from the Internet There is a lot of information on the second item, on the first one you can first search for parsers on pure Java, they fully work on android - A. Ovsyannikov
  • I even made a bot for a single browser-based online game through the JSOUP library ( jsoup.org ). You can update the timer for example by creating Service - Ziens
  • and to transfer values ​​it is already necessary site API? - mr.robot 2:26 pm
  • Values ​​are usually transmitted to the server, you have to either emulate the creation of a request "like on the site", or actually get access to the API - A. Ovsyannikov
  • And through HTTP POST it is impossible? Let’s take this example: on the website the button and text = (number of clicks) I need to transfer the number of clicks to android, and in androyd, when I click on the button, increase this number on the website. :) (for example through POST) So you can do this? or how best to do it - mr.robot

0