标签:Runtime
SharedPreferences最后一次写入时断电偶尔存在不保存问题
前言 最近测试反馈,播放音乐的信息断电时偶尔不记忆。 项目中的记忆是使用sharedpreferences的,sharedpreferences是以xml文件保存,保存的位置在: /data/...
[摘]System.exit(0)和System.exit(1)区别
原作者解释得很清晰明,因此摘抄于此。 关于System.exit(status) System.exit(status)源码说明如下: System.java /** * Terminates the currently runnin...