Skip to content

Instantly share code, notes, and snippets.

View veerenmandalia's full-sized avatar

Veeren Mandalia veerenmandalia

  • San Francisco, CA
View GitHub Profile
@veerenmandalia
veerenmandalia / Connectivity.java
Created August 15, 2017 20:37 — 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