Skip to content

Instantly share code, notes, and snippets.

View sssvrock's full-sized avatar

vinod kumar. S sssvrock

  • Hashtaag
  • Bangalore
View GitHub Profile
@sssvrock
sssvrock / Connectivity.java
Created July 18, 2017 11:05 — forked from emil2k/Connectivity.java
Android utility class for checking device's network connectivity and speed.
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