摘要: 在android4.0的手机上直接创建某个文件的路径一直报这个错:open failed: ENOENT (No such file or directory) 在网上查了很多资料,没找到解决方案,尝试了多次终于找到解决办法 如果在FileOutputStream创建一个流文件路径时或者是对一个File文件路径直接操作时, 可先创建文件的路径,然后在创建文件名就不会在报该错误 以下是解决方案: 1 public static File getFilePath(String filePath, 2 String fi... 阅读全文
posted @ 2012-08-04 10:58 xytyes 阅读(15512) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/dotey/archive/2011/05/10/2041966.html 阅读全文
posted @ 2012-04-22 17:55 xytyes 阅读(112) 评论(0) 推荐(0)