Android Open Source - devoxx-2013-android-app-security Root Detector






From Project

Back to project page devoxx-2013-android-app-security.

License

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.

Java Source Code

package be.idamf.android.tamperdetection.task;
// w  w  w . j a va2 s  .co  m
import android.os.AsyncTask;

import be.idamf.android.tamperdetection.ui.RootCheckFragment;


/**
 * Root detector AsyncTask.
 */
public abstract class RootDetector extends AsyncTask<Void, Void, Boolean> {
    protected RootCheckFragment mCallbackFragment;

    public RootDetector(final RootCheckFragment fragment) {
        mCallbackFragment = fragment;
    }

    public void setCallbackFragment(RootCheckFragment callbackFragment) {
        mCallbackFragment = callbackFragment;
    }

    public RootCheckFragment getCallbackFragment() {
        return mCallbackFragment;
    }
}




Java Source Code List

be.idamf.android.tamperdetection.MainActivity.java
be.idamf.android.tamperdetection.data.PublicKeyInfo.java
be.idamf.android.tamperdetection.pinning.TrustAllTrustManager.java
be.idamf.android.tamperdetection.task.EnvironmentChecker.java
be.idamf.android.tamperdetection.task.RootDetector.java
be.idamf.android.tamperdetection.ui.EnvironmentCheckFragment.java
be.idamf.android.tamperdetection.ui.NetworkCheckFragment.java
be.idamf.android.tamperdetection.ui.RootCheckFragment.java
be.idamf.android.tamperdetection.util.ExecShell.java
be.idamf.android.tamperdetection.util.RootDetectionUtils.java
be.idamf.android.tamperdetection.util.TamperDetectionUtils.java