java
文章平均质量分 68
张端华11
努力学习,为成为一个一流的软件工程师奋斗!!!
展开
-
常见的android.view.WindowManager$BadTokenException: Unable to add window问题解决
问题Main.log:FATAL EXCEPTION: mainProcess: com.android.phone, PID: 761android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@1cb8bd0 is not valid; is yo原创 2015-12-11 10:18:28 · 1107 阅读 · 0 评论 -
java判断一个文件夹是否为空
以下代码用来判断一个文件夹下面是否有文件: File backfile = new File(fileDir); if (backfile !=null && backfile.exists()&& backfile.isDirectory()){ File[] files = backfile.listFiles(原创 2015-12-05 14:22:40 · 15896 阅读 · 0 评论