@@ -0,0 +1,1495 @@
+package com.cocoahero.android.essentials.networking;%0A%0Aimport android.content.Context;%0Aimport android.net.ConnectivityManager;%0Aimport android.net.NetworkInfo;%0A%0A/**%0A * A utility class for determining network availability.%0A */%0Apublic class Reachability %7B%0A%0A    /**%0A     * A convienence method for retreiving the ConnectivityManager in a given%0A     * context.%0A     * %0A     * @param context%0A     * @return the ConnectivityManager instance for the given context.%0A     */%0A    public static ConnectivityManager getConnectivityManager(Context context) %7B%0A        return (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);%0A    %7D%0A%0A    /**%0A     * A convienence method for retreiving the %7B@link NetworkInfo%7D for the%0A     * currently active network.%0A     * %0A     * @param context%0A     * @return a %7B@link NetworkInfo%7D instance for the currently active network.%0A     */%0A    public static NetworkInfo getActiveNetworkInfo(Context context) %7B%0A        return getConnectivityManager(context).getActiveNetworkInfo();%0A    %7D%0A%0A    /**%0A     * A convienence method for determining if networking is available for the%0A     * currently active network connection.%0A     * %0A     * @param context%0A     * @return true if and only if the currently active network is available and%0A     *         connected.%0A     */%0A    public static boolean isNetworkingAvailable(Context context) %7B%0A        NetworkInfo info = getActiveNetworkInfo(context);%0A        return (info.isAvailable() && info.isConnected());%0A    %7D%0A%0A%7D%0A

Add Reachability utility class