Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.content.Context;
import android.util.Log;

public class Main {
    private static final String LOG_TAG = "AndroidFileUtils";

    /**
     * @param pContext
     * @param pFileName
     * @return
     */
    public static boolean deleteAppPrivateFile(Context pContext, String pFileName) {
        try {
            return pContext.deleteFile(pFileName);
        } catch (Exception e) {
            Log.e(LOG_TAG, "deleteAppPrivateFile: " + pFileName);
            return false;
        }
    }
}