title: How to ping a website from an Android activity and get response?
body: <p>I used isReachable, but it didn't work, and I used ConnectivityManager and getNetworkInfo; actually this works only to check if I am connected to the Internet... </p>
  
  <p>But the issue is I want to check if I can access the Internet so I want to ping a website to check if there is a response.</p>