page.title=儲存資料 page.tags=資料儲存空間,檔案,sql,資料庫,偏好設定 helpoutsWidget=true trainingnavtop=true startpage=true @jd:body
在 {@link android.app.Activity#onPause onPause()} 期間,大多數 Android 應用程式都需要儲存資料 (即使僅儲存應用程式狀態的有關資訊),因此使用者的進度不會遺失。 大多數非一般的應用程式還需要儲存使用者設定,某些應用程式必須管理檔案與資料庫中的大量資訊。 本課程將為您介紹 Android 中的主要資料儲存選項,包括: