List of usage examples for android.content Context getCacheDir
public abstract File getCacheDir();
From source file:Main.java
public static String getBaseDirectory(Context cw) { return cw.getCacheDir().getAbsolutePath(); }
From source file:Main.java
public static String getAppTempDir(Context context) { return context.getCacheDir().toString(); }
From source file:Main.java
public static String getCacheDir(Context context) { return context.getCacheDir().getAbsolutePath(); }
From source file:Main.java
public static boolean isClearCache(Context context) { return (context.getCacheDir().listFiles().length == 0); }
From source file:Main.java
public static File getHttpCacheDir(Context context) { return context.getCacheDir(); }
From source file:Main.java
public static File getApplicationCacheDir(Context context) { return context.getCacheDir(); }
From source file:Main.java
public static String getDataCachePath(Context context) { return context.getCacheDir().getAbsolutePath() + File.separator; }
From source file:Main.java
static File getDataCacheDir(Context context) { return context.getCacheDir(); }
From source file:Main.java
public static String getConfigFilePath(Context context) { return context.getCacheDir().getAbsolutePath() + "/" + OVPNCONFIGFILE; }
From source file:Main.java
public static File getEventsPath(Context context) { return new File(context.getCacheDir().getAbsolutePath() + "/info", fileName); }