ادغام خود را با جعبه ابزار Health Connect تست کنید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Health Connect Toolbox یک ابزار توسعه دهنده همراه است که به شما کمک می کند ادغام برنامه خود را با Health Connect آزمایش کنید. می تواند داده ها را مستقیماً در Health Connect بخواند و بنویسد و به شما امکان می دهد عملیات برنامه خود را آزمایش کنید. می توانید APK را دانلود کنید تا از آن برای چرخه تست خود استفاده کنید.
برای دریافت فایل های APK فایل ZIP را استخراج کنید. سپس، برای نصب Toolbox APK روی دستگاه متصل، از adb استفاده کنید. به پوشه ای که APK در آن قرار دارد بروید و دستور زیر را اجرا کنید:
برای مدیریت مجوزهای خواندن و نوشتن برای آزمایش، برنامه Health Connect را از صفحه اصلی برنامه جعبه ابزار باز کنید یا مستقیماً به جریان مجوز بروید.
سوابق سلامت را بخوانید و بنویسید
Health Connect Toolbox از خواندن و نوشتن همه انواع داده Health Connect پشتیبانی می کند.
برای درج پرونده سلامت جدید:
روی Insert Health Record ضربه بزنید.
یک دسته را انتخاب کنید.
یک نوع پرونده سلامت را انتخاب کنید.
مقدار را وارد کنید.
روی دکمه SAVE ضربه بزنید.
برای خواندن سوابق سلامت از سایر برنامه ها:
روی Read Health Record ضربه بزنید.
نوع داده را وارد کنید.
بازه زمانی پرس و جو را انتخاب کنید.
روی دکمه READ ضربه بزنید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی."],[],[],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."]]