איך בודקים את השילוב עם ארגז הכלים של Health Connect
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ארגז הכלים של Health Connect הוא כלי נלווה למפתחים שעוזר לבדוק את השילוב של האפליקציה עם Health Connect. השירות הזה יכול לקרוא ולכתוב נתונים ישירות ב-Health Connect, וכך לבדוק את הפעולות של האפליקציה.
אפשר להוריד את ה-APK כדי להשתמש בו במחזור הבדיקה.
מחלצים את קובץ ה-ZIP כדי לקבל את קובצי ה-APK. לאחר מכן, כדי להתקין את ה-APK של ארגז הכלים במכשיר מחובר, משתמשים ב-adb. עוברים לתיקייה שבה נמצא ה-APK ומריצים את הפקודה הבאה:
כדי לנהל את הרשאות הקריאה והכתיבה לבדיקה, פותחים את אפליקציית Health Connect מהמסך הראשי של אפליקציית ארגז הכלים או עוברים ישירות לתהליך ההרשאות.
קריאה וכתיבה של מידע רפואי
ארגז הכלים של Health Connect תומך בקריאה ובכתיבה של כל סוגי הנתונים של 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,["# Test your integration with the Health Connect Toolbox\n\nThe Health Connect Toolbox is a companion developer tool to help you test\nyour app's integration with Health Connect. It can read and write data directly\nto Health Connect, allowing you to test your app's operations.\nYou can download the APK to use it for your test cycle.\n\n[Health Connect Toolbox](https://goo.gle/health-connect-toolbox)\n\nExtract the ZIP file to get the APK files. Then, to install the Toolbox APK on\na connected device, use `adb`. Navigate to the folder where the APK is located\nand run the following command: \n\n $ adb install HealthConnectToolbox-{Version Number}.apk\n\n| **Note:** The Health Connect Toolbox is actively maintained and the `{Version Number}` is expected to be updated with each release. Review the extracted APK from your downloaded ZIP file and make the appropriate changes to the command.\n\nTo manage read and write permissions for testing, open the Health\nConnect app from either the main screen of the Toolbox app or go directly to\nthe permission flow.\n\nRead and write health records\n-----------------------------\n\nHealth Connect Toolbox supports reading and writing all Health Connect data\ntypes.\n\nTo insert a new health record:\n\n1. Tap on **Insert Health Record**.\n2. Select a category.\n3. Select a health record type.\n4. Enter the value.\n5. Tap the **SAVE** button.\n\nTo read the health records from other apps:\n\n1. Tap on **Read Health Record**.\n2. Enter the data type.\n3. Select the time period for query.\n4. Tap the **READ** button."]]