摘要: drwx read write excute openFileOutput(name,drwx); 用系统api读取文件 read write excute openFileOutput(name,drwx); 用系统api读取文件 设置文件生成的权限: public static boolean 阅读全文
posted @ 2017-03-29 23:24 dub 阅读(28576) 评论(0) 推荐(0) 编辑
摘要: 概念:view在UI线程去更新自己;而SurfaceView则在一个子线程中去更新自己 surfaceView是在一个新起的单独线程中可以重新绘制画面,而View必须在UI的主线程中更新画面 在UI的主线程中更新动画,时间一旦太长就会出现问题 surfaceView 在新的线程中更新画面所以不会阻塞 阅读全文
posted @ 2017-03-29 09:35 dub 阅读(4368) 评论(0) 推荐(0) 编辑