List of usage examples for android.os Environment getExternalStoragePublicDirectory
public static File getExternalStoragePublicDirectory(String type)
From source file:Main.java
public static String getDCIM() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath() + "/"; }
From source file:Main.java
public static String getMovies() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES).getAbsolutePath() + "/"; }
From source file:Main.java
public static String getDCIMpath() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath(); }
From source file:Main.java
public static String getGalleryPath() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) + "/"; }
From source file:Main.java
public static String getMusicFolder() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC).getAbsolutePath(); }
From source file:Main.java
public static String getDownload() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + "/"; }
From source file:Main.java
public static String getCameraFolder() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath(); }
From source file:Main.java
public static String getDownloadFolder() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath(); }
From source file:Main.java
public static String getAppGalleryPath() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).toString() + "/pharaohCard/"; }
From source file:Main.java
public static String getAppFolder() { String path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) + "/"; return path;/*from ww w. ja v a 2s . c o m*/ }