摘要: 在对Sdcard进行文件的读写操作的时候报错FileNotFoundExceptionFile targetFile = new File("/mnt/sdcard/count.txt");用RandomAccessFile raf = new RandomAccessFile(targetFile, "rw");RandomAccessFile:以指定的"rw"读写模式来读写文件,如果不存在就创建文件并写入内容,如果存在就追加内容Constructs a new RandomAccessFile based on file and 阅读全文
posted @ 2013-01-14 10:41 欢醉 阅读(15457) 评论(0) 推荐(0) 编辑