码迷,mamicode.com
首页 > 移动开发 > 详细

android SD卡存储

时间:2014-10-22 18:40:42      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:android   io   ar   strong   sp   on   amp   ad   bs   

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卡存储

标签:android   io   ar   strong   sp   on   amp   ad   bs   

原文地址:http://my.oschina.net/u/1389206/blog/336206

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!