title: How to check internet accessibility in hotspot (Android)
body: <p>I know how to check internet connectivity (NetworkInfo::isAvailable, isConnected) but I've got problems with hotspots.
  When you're connected to a hotspot but you didn't enter the password, you are connected to the internet (so the regular check will return true), but you can't connect to sites.
  I there a way to confirm that I didn't pass the hotspot's password check? maybe ping to some server?</p>