APISonar


com.stericson.RootTools.RootTools.log

> com > stericson > RootTools > RootTools > log
com APIs stericson APIs RootTools APIs RootTools APIs log APIs

Example 1
public boolean isAppletAvailable(String applet, String binaryPath) {
        try {
            for (String aplet : getBusyBoxApplets(binaryPath)) {
                if (aplet.equals(applet)) {
                    return true;
                }
            }
            return false;
        } catch (Exception e) {
            RootTools.log(e.toString());
            return false;
        }
    }
Example 2
public void offerSuperUser(Activity activity) {
        RootTools.log("Launching Play Store for SuperSU");
        Intent i = new Intent(Intent.ACTION_VIEW,
                Uri.parse("market://details?id=eu.chainfire.supersu"));
        activity.startActivity(i);
    }