Back to project page devoxx-2013-android-app-security.
The source code is released under:
Apache License
If you think the Android project devoxx-2013-android-app-security listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package be.idamf.android.tamperdetection.task; /* ww w .j a va2s . com*/ import android.content.Context; import android.os.AsyncTask; import be.idamf.android.tamperdetection.ui.EnvironmentCheckFragment; /** * Environment-checking AsyncTask. */ public abstract class EnvironmentChecker extends AsyncTask<Void, Void, Boolean> { private Context mContext; protected EnvironmentCheckFragment mCallbackFragment; public EnvironmentChecker(final Context context, final EnvironmentCheckFragment fragment) { mContext = context; mCallbackFragment = fragment; } public void setCallbackFragment(EnvironmentCheckFragment callbackFragment) { mCallbackFragment = callbackFragment; } public Context getContext() { return mContext; } public EnvironmentCheckFragment getCallbackFragment() { return mCallbackFragment; } }