I'm doing an app that connect to a server, this service uptime is not 100% so I need make an status checker.
My idea is call a php from Java and recover a "0" if is not active and "1" if the service is running and don't waste time of the app users.
Any idea how can I do that in Java?
Greetens and thanks