التقاط شاشات واجهة مستخدم Wear OS
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يوفّر نظام التشغيل Wear OS العديد من الطُرق للحصول على واجهة مستخدم Wear OS:
-
استوديو Android: استخدِم Logcat لأخذ لقطات شاشة.
-
التطبيق المصاحب: على أجهزة Google Pixel Watch، استخدِم Take الأجهزة القابلة للارتداء.
لقطة الشاشة لالتقاط لقطات الشاشة.
-
تسجيل الشاشة على نظام التشغيل Wear OS: يمكنك تسجيل فيديو للشاشة.
الحصول على لقطات شاشة في "استوديو Android"
يشبه التقاط لقطات شاشة من واجهة مستخدم تطبيقك القابل للارتداء باستخدام "استوديو Android" عملية التقاط
لقطات الشاشة على الهاتف المحمول. يُرجى اتّباع الخطوات التالية:
- افتح التطبيق في استوديو Android.
- يمكنك تشغيل تطبيقك على جهاز أو محاكي.
- انتقِل إلى الشاشة التي تريد تصويرها على الجهاز أو في المحاكي.
- افتح Logcat وانقر على
رمز لقطة الشاشة. قد يكون
أسفل القائمة الكاملة.
- ويمكنك اختياريًا تحديد Frame لقطة شاشة واختيار Chrome مستدير.
- انقر على حفظ.
التقاط لقطات شاشة باستخدام التطبيق المصاحب
لأخذ لقطات شاشة لجهاز Google Pixel Watch، يمكنك استخدام التطبيق المصاحب Google Pixel Watch. يُرجى اتّباع الخطوات التالية:
- في واجهة المستخدم، ابحث عن الشاشة التي تريد تصويرها.
- على هاتف Android، فعِّل خيارات المطوّرين إذا لم يسبق لك تفعيلها، من خلال
بالانتقال إلى الإعدادات > لمحة عن الهاتف والنقر على رقم الإصدار
سبع مرّات
- افتح التطبيق المصاحب لنظام التشغيل Wear على هاتفك.
- انقر على زر القائمة الكاملة للنقاط الثلاث في أعلى يسار الصفحة لفتح القائمة.
- انقر على أخذ لقطة شاشة على الجهاز القابل للارتداء. تظهر الرسالة التالية:
تم إرسال طلب لقطة الشاشة. ستتلقّى بعد ذلك الإشعارات التالية:
جاهز لإرسال لقطة شاشة الساعة والنقر للإرسال.
- انقر على الإشعار لتلقّي خيارات إرسال لقطة الشاشة أو مشاركتها باستخدام البلوتوث.
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 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]