ANDROID 访问SD卡
----------------------------------------------------
得到当前设备SD卡的目录
Environment.getExternalStorageDirectory()
访问SD卡的权限
android.permission.WRITE_EXTERNAL_STORAGE
出现java.io.IOException: Permission denied 的情况下
1.可能是没在Manifest.xml文件中未写入权限
2.在创建虚拟设备时 没有创建sdcard
阅读(625) | 评论(0) | 转发(0) |