android 在sd卡中建立文件夹

时间:2014-01-16 00:17:13   收藏:0   阅读:485

File sd=Environment.getExternalStorageDirectory();

        String path=sd.getPath()+"/notes";

        File file=new File(path);

        if(!file.exists())

         file.mkdir();

原文:http://www.cnblogs.com/hao222/p/3517069.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!