原创 Java中寫雙重檢查加鎖的單例時volatile關鍵字作用
1.保證多進程情況下變量的可見性 2.禁止 instance = new Singleton();的指令重排 注意: instance = new Singleton() 分解爲: 1.分配對象內存空間 2.初始化對象 3.將in
原创 Android的顯示與窗口
參考: 1.淺析 Android 的窗口 https://cloud.tencent.com/developer/article/1070984 2.Android系統服務 —— WMS與AMS https://www.jians
原创 Ubuntu 16.04 配置JDK及環境變量
Ubuntu 16.04 配置JDK及環境變量 https://blog.csdn.net/DeMonliuhui/article/details/77374655
原创 Git 子模塊:git submodule
Git 子模塊:git submodule https://juejin.im/post/5aa11f486fb9a028e0140e34
原创 異常安全筆記
1.read reference and write 參考: 0.Lessons Learned from Specifying Exception-Safety for the C++ Standard Library http
原创 Android從data/data/包名/files下拷貝文件到sdcard
一.權限注意 寫入sdcard需要權限 2.Android 6.0 Marshmallow (API 23) or later.需要動態申請權限 參考: 1.https://stackoverflow.com/questions
原创 密碼學記錄
1.密碼學筆記 http://www.ruanyifeng.com/blog/2006/12/notes_on_cryptography.html 2.數字簽名是什麼? http://www.ruanyifeng.com/blog
原创 SharedPreferences 多進程解決方案與ContentProvider
參考: 1.SharedPreferences 多進程解決方案 https://juejin.im/entry/590833711b69e60058eb34b9 2.理解ContentProvider原理 http://gityu
原创 Java Thread的join() 之刨根問底
Java Thread的join() 之刨根問底 https://juejin.im/post/5b3054c66fb9a00e4d53ef75
原创 在 Kotlin 代碼中慎用 lateinit 屬性
在 Kotlin 代碼中慎用 lateinit 屬性 https://zhuanlan.zhihu.com/p/31297995
原创 首次將本地代碼上傳至github
首次將本地代碼上傳至github https://blog.csdn.net/programmer_at/article/details/78011705 git修改提交作者和郵箱 https://blog.csdn.net/di
原创 Trying to create a file in Android: open failed: EROFS (Read-only file system)
Trying to create a file in Android: open failed: EROFS (Read-only file system) https://stackoverflow.com/questions/
原创 Android aar中增加獨立的混淆配置
Android aar中增加獨立的混淆配置 https://www.jianshu.com/p/a8614ff60647
原创 dumpsys學習筆記
dumpsys is a tool that runs on Android devices and provides information about system services. 參考: 1.https://develo
原创 Android Deserialization Vulnerabilities: A Brief history
1.Android Deserialization Vulnerabilities: A Brief history https://securitylab.github.com/research/android-deserial