android 在sd卡中建立文件夹

File sd=Environment.getExternalStorageDirectory();

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

        File file=new File(path);

        if(!file.exists())

         file.mkdir();

posted @ 2014-01-13 11:01  爱编程hao123  阅读(182)  评论(0编辑  收藏  举报