קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
איור 1. מצלמים סרטון של האפליקציה.
Logcat מאפשר לכם לצלם סרטון MP4 מהמכשיר, למשל לצורך יצירת חומרי שיווק או ניפוי באגים. האורך המקסימלי של הסרטונים הוא שלוש דקות, ולא מתבצע הקלטה של אודיו עם קובץ הווידאו.
בתיבת הדו-שיח אפשרויות של מקליט המסך, מגדירים את אפשרויות ההקלטה:
קצב העברת נתונים: מזינים קצב העברת נתונים. ברירת המחדל היא 4Mbps.
רזולוציה: מזינים ערך רוחב וגובה בפיקסלים. הערך חייב להיות כפולה של 16. ברירת המחדל היא הרזולוציה של המכשיר.
הצגת הקשות: מפעילים משוב חזותי ללחיצות.
לוחצים על התחלת ההקלטה כדי להתחיל את ההקלטה.
לוחצים על הפסקת ההקלטה כדי להפסיק את ההקלטה.
בתיבת הדו-שיח Save As (שמירה בשם), שומרים את קובץ ה-MP4.
בתיבת הדו-שיח מצלמת המסך, לוחצים על אחד מהלחצנים כדי להציג את מיקום הקובץ, לפתוח את ההקלטה בנגן או לסגור את תיבת הדו-שיח.
הקלטת סרטון באמצעות האמולטור
אם אתם משתמשים במהדמ, אתם יכולים לצלם סרטון ישירות מהכרטיסייה הקלטה והפעלה בקטע פקדים מורחבים. אחרי שתצלמו סרטון, תוכלו לשמור אותו בפורמט WEBM או בפורמט GIF:
איור 2. מצלמים סרטון באמצעות אמולטור.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-04-06 (שעון UTC).
[null,null,["עדכון אחרון: 2025-04-06 (שעון UTC)."],[],[],null,["# Record a video\n\n**Figure 1.** Record a video of your app.\n\n\n[Logcat](/studio/debug/am-logcat) lets you record an MP4 video\nfrom your device, such as for marketing materials or for debugging. Videos are a maximum of three\nminutes long, and audio is not recorded with the video file.\n\nTo record a video of your app, do the following:\n\n1. Open an app project.\n2. [Run the app](/studio/run#RunningApp) on a device.\n3. Click **View \\\u003e Tool Windows \\\u003e Logcat**.\n4. Interact with the display on the device to stage the start of the video.\n5. Click **Screen Record** in the left side of the Logcat window.\n6. In the **Screen Recorder Options** dialog, set the recording options:\n - **Bit Rate:** Enter a bit rate. The default is 4 Mbps.\n - **Resolution:** Enter a width and height value in pixels. The value must be a multiple of 16. The default is the resolution of the device.\n - **Show Taps:** Enable visual feedback for taps.\n7. Click **Start Recording** to start the recording.\n8. Click **Stop Recording** to stop the recording.\n9. In the **Save As** dialog, save the MP4 file.\n10. In the **Screen Recorder** dialog, click one of the buttons to show the file location, open the recording in a player, or dismiss the dialog.\n\nRecord video with the emulator\n------------------------------\n\nIf you are using an emulator, you can record video directly from the **Record and Playback**\ntab in **Extended Controls**. Once you have recorded a video, you can save it as either WEBM or\nGIF format:\n**Figure 2.** Record a video using an emulator."]]