首页 > 代码库 > android SD卡存储
android SD卡存储
File path1 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_ALARMS); /mnt/sdcard/Alarms
File path2 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_DCIM); /mnt/sdcard/Camera
File path3 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_DOWNLOADS); /mnt/sdcard/Download
File path4 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_MOVIES); /mnt/sdcard/Video
File path5 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_PICTURES); /mnt/sdcard/Photo
File path6 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_MUSIC); /mnt/sdcard/Music
File path7 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_NOTIFICATIONS); /mnt/sdcard/Notifications
File path8 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_PODCASTS); /mnt/sdcard/Podcasts
File path9 = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_RINGTONES); /mnt/sdcard/Ringtones
getExternalFilesDir(Environment.DIRECTORY_PICTURES),
/mnt/sdcard/Android/data/com.example.android.apis/files/Photo/
android SD卡存储