צילום מסכים של ממשק המשתמש של Wear
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יש כמה דרכים לצלם את ממשק המשתמש של Wear OS באמצעות Wear OS:
-
Android Studio: משתמשים ב-Logcat כדי ליצור צילומי מסך.
-
אפליקציה נלווית: במכשירי Google Pixel Watch, משתמשים ב גאדג'ט לביש
צילום מסך כדי לצלם את המסך.
-
הקלטת מסך ל-Wear OS: מצלמים סרטון של המסך.
יצירת צילומי מסך ב-Android Studio
יצירת צילומי מסך של ממשק המשתמש של האפליקציה הלבישת באמצעות Android Studio דומה לצילום של צילומי מסך
צילומי מסך בנייד. זה מה שצריך לעשות:
- פותחים את האפליקציה ב-Android Studio.
- מפעילים את האפליקציה במכשיר או באמולטור.
- מנווטים למסך שרוצים לצלם במכשיר או באמולטור.
- פותחים את Logcat ולוחצים על
סמל של צילום מסך. יכול להיות
מתחת לתפריט האפשרויות הנוספות.
- אפשר גם לבחור באפשרות Frame Screenshot (צילום מסך) ולבחור פורמט עגול.
- לוחצים על שמירה.
צילום מסך באמצעות האפליקציה הנלווית
כדי לצלם צילומי מסך של מכשיר Google Pixel Watch, אפשר להשתמש באפליקציה הנלווית של Google Pixel Watch. כך עושים זאת:
- בממשק המשתמש, מוצאים את המסך שרוצים לצלם.
- בטלפון Android, מפעילים את אפשרויות למפתחים, אם עדיין לא עשיתם זאת, על ידי
מעבר אל הגדרות > מידע על הטלפון והקשה על מספר Build
שבע פעמים.
- פותחים את האפליקציה הנלווית של Wear בטלפון.
- מקישים על לחצן האפשרויות הנוספות של שלוש הנקודות בפינה השמאלית העליונה כדי לפתוח את התפריט.
- מקישים על צילום מסך במכשיר לביש. ההודעה הבאה תופיע:
הבקשה לצילום מסך נשלחה. לאחר מכן תקבלו את ההתראות הבאות:
הכול מוכן לשלוח את צילום המסך של השעון ומקישים כדי לשלוח.
- מקישים על ההתראה כדי לקבל אפשרויות לשליחה או לשיתוף של צילום המסך באמצעות Bluetooth.
Gmail או אפשרויות אחרות.
שימוש בהקלטת מסך ב-Wear OS
אם אתם מפתחים ב-macOS, תוכלו להשתמש בפרויקט של GitHub
כלי Android ל-Mac כדי לצלם סרטון במכשיר Wear OS.
אפשר גם לצלם סרטון ממכשיר Wear OS באמצעות השלבים הבאים:
- צריך לתעד פריימים גולמיים בשעון, כפי שמוצג בשלבים הבאים:
adb shell screenrecord --time-limit 30 --output-format raw-frames --verbose /sdcard/video.raw
- מעתיקים את הקובץ הגולמי למכונת הפיתוח, באופן הבא:
adb pull /sdcard/video.raw video.raw
- יש להשתמש ב-
ffmpeg
כדי להמיר את הקובץ הגולמי ל-MP4, כפי שמוצג באופן הבא:
ffmpeg -f rawvideo -vcodec rawvideo -s 400x400 -pix_fmt rgb24 -r 10 -i video.raw -an -c:v libx264 -pix_fmt yuv420p video.mp4
הערה: כדאי לעיין
אתר של FFmpeg להורדה
והוראות התקנה.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# Capture Wear UI screens\n\nWear OS provides several ways to capture the Wear OS UI:\n\n- **Android Studio**: use Logcat to take screenshots.\n- **Companion app** : on Google Pixel Watch devices, use the **Take wearable\n screenshot** option to take screenshots.\n- **Screen record for Wear OS**: record a video of the screen.\n\nCapture screenshots in Android Studio\n-------------------------------------\n\n\nCapturing screenshots of your wearable app's UI using Android Studio is similar to capturing\nscreenshots on mobile. Use the following steps:\n\n1. Open your app in [Android Studio](/studio).\n2. Run your app on a device or an emulator.\n3. Navigate to the screen you want to capture on the device or in the emulator.\n4. Open [Logcat](/studio/debug/am-logcat) and click the screenshot icon. It might be beneath the overflow menu.\n5. Optionally, select **Frame Screenshot** and select a round chrome.\n6. Click **Save**.\n\nCapture screenshots with the companion app\n------------------------------------------\n\n\nTo take screenshots of a Google Pixel Watch device, you can use the [Google Pixel Watch](https://play.google.com/store/apps/details?id=com.google.android.apps.wear.companion) companion app. Follow these steps:\n\n1. On your UI, find the screen that you want to capture.\n2. On the Android phone, enable **Developer options** , if you haven't already, by going to **Settings \\\u003e About phone** , and tapping **Build number** *seven times.*\n3. Open the Wear companion app on your phone.\n4. Tap the three dot overflow button in the upper-righthand corner to open the menu.\n5. Tap **Take wearable screenshot** . The following message appears: **Screenshot request sent** . Then you receive the following notifications: **Ready to send watch screenshot** and **tap to send**.\n6. Tap the notification to receive options for sending or sharing the screenshot using Bluetooth, Gmail, or other options.\n\nUse screen record for Wear OS\n-----------------------------\n\n\nIf you develop on macOS, you can use the GitHub project\n[Android tool for Mac](https://github.com/mortenjust/androidtool-mac/blob/master/README.md) to record a video from your Wear OS device.\n\n\nAlternatively, record a video from your Wear OS device using the following steps:\n\n1. Record raw frames on the watch, as shown in the following: \n\n ```text\n adb shell screenrecord --time-limit 30 --output-format raw-frames --verbose /sdcard/video.raw\n ```\n2. Copy the raw file to your development machine, as shown in the following: \n\n ```text\n adb pull /sdcard/video.raw video.raw\n ```\n3. Use `ffmpeg` to convert the raw file to MP4, as shown in the following: \n\n ```scdoc\n ffmpeg -f rawvideo -vcodec rawvideo -s 400x400 -pix_fmt rgb24 -r 10 -i video.raw -an -c:v libx264 -pix_fmt yuv420p video.mp4\n ```\n\n\n**Note:** Refer to the\n[FFmpeg website](https://www.ffmpeg.org/download.html) for download\nand installation instructions."]]