Skip to content

Instantly share code, notes, and snippets.

Avatar

vinod kumar. S sssvrock

View GitHub Profile
@sssvrock
sssvrock / Connectivity.java
Created Jul 18, 2017 — forked from emil2k/Connectivity.java
Android utility class for checking device's network connectivity and speed.
View Connectivity.java
package com.emil.android.util;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.telephony.TelephonyManager;
/**
* Check device's network connectivity and speed
* @author emil http://stackoverflow.com/users/220710/emil