Health Connect Araç Kutusu ile entegrasyonunuzu test etme
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Health Connect Araç Kutusu, uygulamanızın Health Connect ile entegrasyonunu test etmenize yardımcı olacak tamamlayıcı bir geliştirici aracıdır. Doğrudan Health Connect'e veri okuyup yazabilir. Bu sayede uygulamanızın işlemlerini test edebilirsiniz.
Test döngünüzde kullanmak için APK'yı indirebilirsiniz.
APK dosyalarını almak için ZIP dosyasını çıkarın. Ardından Araç Kutusu APK'sını bağlı
bir cihaza yüklemek için adb işlevini kullanın. APK'nın bulunduğu klasöre gidin ve aşağıdaki komutu çalıştırın:
Test amacıyla okuma ve yazma izinlerini yönetmek için Araç Kutusu uygulamasının ana ekranından Health Connect uygulamasını açın veya doğrudan izin akışına gidin.
Sağlık kayıtlarını okuma ve yazma
Health Connect Araç Kutusu, tüm Health Connect veri türlerinin okunup yazılmasını destekler.
Yeni bir sağlık kaydı eklemek için:
Insert Health Record (Sağlık Kaydı Ekle) seçeneğine dokunun.
Bir kategori seçin.
Sağlık kaydı türü seçin.
Değeri girin.
KAYDET düğmesine dokunun.
Diğer uygulamalardaki sağlık kayıtlarını okumak için:
Sağlık Kaydını Oku'ya dokunun.
Veri türünü girin.
Sorgunun dönemini seçin.
OKU düğmesine dokunun.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 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."]]