I have an android application, it basically show a listview, with items took from mysql database, I need two things:
The first one is to edit the private backend where I manage all items of the listview, it shows for example: server 1, Ip: xx.xx.xx.xx, status :online/offline... The status is not realtime, every x seconds I need a function that try to connect to this ip at a certain port and see the response, as a response there should be server info, like player online, total player etc... and if a server is online update the current status.
The second thing I need is from mobile, at every click of a listview item there should be a a new screen where user can see server info that we took before and click a button to connect to the server.
Now the application automatically connects you to the server at every click of listview items.