Check if streamer is streaming

in short? Either find a library that already exists or research the HttpsURLConnection Java class. That may be used to connect to remote servers (as mentioned above). You will need to also look at a JSON class, I like org.JSON myself.

There are many other classes and APIs available, this is just an example of two that you can research.