קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Health Connect נועד להקל על שילוב מהיר ונוח בין אפליקציות לקוח לבין Health Connect API.
בתרשים הבא מוצג השילוב בין אפליקציית לקוח לבין Health Connect API דרך שכבת ה-SDK ו-IPC (תקשורת בין תהליכים):
רכיבי ארכיטקטורה
1. ערכת כלים לפיתוח תוכנה (SDK)
ערכת ה-SDK מאפשרת לאפליקציית הלקוח לתקשר עם חבילת ה-APK של Health Connect באמצעות IPC.
2. אפליקציית לקוח
כדי לבצע שילוב עם Health Connect, אפליקציות לקוח מקשרות את ה-SDK לאפליקציית הכושר והבריאות שלהן. כך נוצר ממשק API שמאפשר אינטראקציה עם Health Connect API.
3. קובץ APK של Health Connect
קובץ ה-APK של Health Connect הוא המרכיב העיקרי של Health Connect API, והוא מכיל את רכיבי ניהול ההרשאות וניהול הנתונים. קובץ ה-APK של Health Connect זמין ישירות במכשיר של המשתמש.
4. ניהול הרשאות
Health Connect כולל ממשק משתמש שדרכו אפליקציות מבקשות מהמשתמש הרשאה להציג נתונים.
בנוסף, היא מספקת רשימה של הרשאות משתמשים קיימות, ומאפשרת למשתמשים לשלוט בקלות בגישה לנתונים בכמה אפליקציות.
5. ניהול נתונים
ב-Health Connect יש ממשק משתמש עם סקירה כללית של הנתונים שתועדו, בין אם מדובר במספר הצעדים של המשתמש, במהירות הרכיבה על אופניים, בדופק או בכל סוג נתונים נתמך אחר.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Review the platform architecture\n\nHealth Connect is designed to facilitate fast, convenient integration\nbetween client apps and the Health Connect API.\n\nThe following diagram shows the integration between a client app and\nthe Health Connect API through the SDK layer and IPC (Inter-Process Communication):\n\n| **Note:** The Health Connect SDK supports Android 8 (API level 26) at the minimum, while the Health Connect app is only compatible with Android 9 (API level 28) or higher. This means that third-party apps can support users with Android 8, but only users with Android 9 or higher can use Health Connect.\n\nArchitecture components\n-----------------------\n\n**1. Software development kit**\n\nThe SDK enables the client app to communicate with the Health Connect APK, over IPC.\n\n**2. Client app**\n\nTo integrate with Health Connect, client apps link the SDK into their health and fitness app. This provides an API surface that facilitates interaction with the Health Connect API.\n\n**3. Health Connect APK**\n\nThe Health Connect APK is the main substance of the Health Connect API, and contains both its Permissions Management and Data Management components. The Health Connect APK is made available directly on the user's device.\n\n**4. Permissions management**\n\nHealth Connect includes a user interface through which apps request a user's permission to display data.\n\nIt also provides a list of existing user permissions, allowing users to easily control access to data across multiple applications.\n\n**5. Data management**\n\nHealth Connect provides a user interface with an overview of recorded data, whether it's a user's step count, cycling speed, heart rate, or any other [supported data types](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/package-summary#classes)."]]