This sample demonstrates how to check network connectivity with Android APIs.
This sample has been deprecated/archived meaning it's read-only and it's no longer actively maintained (more details on archiving can be found here).
For other related samples, check out the new github.com/android/connectivity-samples repo. Thank you!