@@ -0,0 +1,548 @@
+package de.fau.cs.mad.kwikshop.android.model;%0A%0A%0Aimport android.app.Activity;%0Aimport android.content.Context;%0Aimport android.net.ConnectivityManager;%0Aimport android.net.NetworkInfo;%0A%0Apublic class InternetHelper %7B%0A%0A%0A    public static boolean checkInternetConnection(Activity activity) %7B%0A        ConnectivityManager cm =%0A                (ConnectivityManager) activity.getSystemService(Context.CONNECTIVITY_SERVICE);%0A        NetworkInfo netInfo = cm.getActiveNetworkInfo();%0A        return netInfo != null && netInfo.isConnectedOrConnecting();%0A    %7D%0A%0A%7D%0A

add Internet helper to model