編輯:關於 Android 程式設計
Android系統設定中的清除資料,並非刪除整個APP資料夾。以瀏覽器為例,清除後多數目錄與檔案會被移除,但lib資料夾及其內容通常保留。
此外,/sdcard/Android/data中與套件相關的資料也不會被此功能清除。
Intent 實用套路(上):簡訊、郵件、通話、拍照與錄影
Intent 是 Android 裡極重要的一個類別。若對它或 Intent Filter 的觀念還不清楚,可先讀〈Intent 使用方法詳解〉與〈Intent Filt
[Android] 你真的了解 Activity 嗎?
Activity 到底是什麼 Android 四大組件——Activity、Service、ContentProvider、BroadcastReceiver——其中 A
Android APK 動態加載機制研究(二):資源訪問與 Activity 生命週期管理
前言 上一篇我們分析了 Android 中 APK 動態加載的基本原理,並在結尾指出兩個尚未解決的難題:資源的訪問與 Activity 生命週期管理。本文接著處理這兩件事
Binder IPC 的權限控制:clearCallingIdentity 與 restoreCallingIdentity 原理剖析
讀 Android framework 原始碼時,你一定看過這兩個總是成對出現的方法: // 清空遠端呼叫者的 uid 與 pid,改用本地行程的 uid/pid 取代