Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, use android-latest-release. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
Android Health
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Android 健康模組可管理及存取 Android 中的健康資料,因此開發人員可以專注於為使用者提供價值。
動機
- 使用者希望集中管理所有健康與健身資訊。
- 由於生態系統過於分散,開發人員難以在 Android 上整合健康平台。
模組邊界
這個模組適用於 Android 14 以上版本。packages/modules/HealthFitness 下的所有檔案和目錄都屬於 Android Health 模組範圍。
Android 健康模組 (packages.modules.HealthFitness) 是 APEX 格式的 APK,適用於 Android 14 以上版本。
依附元件
如果自訂 Android 健康資料,請務必確保實作項目符合自訂項目相關聯的依附元件。
如果您自行開發健康資料管理設定畫面,請注意,每當 Android 平台發布重大版本,這些規定就會更新和修訂。
自訂
您可以使用資源疊加層覆寫主題和資源。
您可以使用 Android 健康資料模組公開的 API,提供自己的資料管理 UI。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2026-09-15 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-09-15 (世界標準時間)。"],[],[]]