title: How to ping the server in Android?
body: <p>How can I ping some web server in Android to test if I've Internet connection?
  So I need the method which pings the given site and returns false if I've no Internet and true if I have.</p>