List of usage examples for android.content Context getFilesDir
public abstract File getFilesDir();
From source file:Main.java
public static String getDataFilesDir(Context c) { return c.getFilesDir().getAbsolutePath() + File.separator; }
From source file:Main.java
public static String getSniffBinaryPath(Context c) { return c.getFilesDir().getAbsolutePath() + File.separator + "sniff"; }
From source file:Main.java
private static String getFilesDir(Context _ctx) { return _ctx.getFilesDir().getAbsolutePath(); }
From source file:Main.java
public static String getAppDir(Context context) { return context.getFilesDir().toString(); }
From source file:Main.java
public static String getDocumentPath(Context context) { return context.getFilesDir().getAbsolutePath(); }
From source file:Main.java
public static String getFilesDir(Context context) { return context.getFilesDir().getAbsolutePath(); }
From source file:Main.java
public static String getDataFilePath(Context context) { return context.getFilesDir().getAbsolutePath() + File.separator; }
From source file:Main.java
public static File getIntWorkingDir(Context context) { return context.getFilesDir(); }
From source file:Main.java
public static File getCodeDir(Context context) { return new File(context.getFilesDir(), "code"); }
From source file:Main.java
public static String getInternalFilesDir(Context context) { File file = context.getFilesDir(); if (file != null) { return file.getAbsolutePath(); }/*from w ww . ja v a 2 s . c o m*/ return null; }