קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ניתן להשתמש באמולטור המסך המרוחק כדי לאמולציה של חומרה מרובת מסכים
שנמצא בכלי רכב מסוימים. באופן ספציפי, הוא מחקה מכשיר עם תמיכה במגע
במרכז המסך ובמסך של לוח הבקרה ללא מגע. תרחיש לדוגמה
תהיה למשתמש לשלוח אפליקציית וידאו למסך מרכז הבקרה בזמן
ממשיכים להשתמש במסך המרכזי כדי לחפש יעד בניווט
אפליקציה.
הזזת אפליקציות באמצעות ממשק המשתמש של המערכת
הדרך העיקרית שבה משתמשים מעבירים אפליקציות אל תצוגה מרוחקת היא באמצעות
עלות בממשק המשתמש של המערכת. באמולטור התצוגה המרוחק, ניתן למצוא את המפענח הזה
בשורת הסטטוס שבחלק העליון של המסך.
הלחצן
לשלוח את האפליקציה למסך המרוחק
הוא
כדי להחזיר אותו למסך הראשי. אם האפליקציה במצב של צפייה היקפית
מצב זה - כלומר הוא מוסתר מסרגלי המערכת - עליך לחשוף את שורת הסטטוס
הצגת הפקדים האלה.
העברת אפליקציות באמצעות adb
בנוסף ליכולת של ממשק המשתמש של המערכת, ניתן להשתמש בפקודות adb הבאות
כדי להעביר אפליקציות אל המסך המרוחק וממנו.
באפליקציות שהשתלבו עם סשן מדיה:
אפשר להשתמש בפקודה הבאה כדי לשלוט בהפעלה. לדוגמה, הנתיב יכול להיות
משמש לשליטה בהפעלה של אפליקציית וידאו כשהיא מוצגת במסך מרוחק.
adbshellcmdmedia_sessiondispatchCOMMAND
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Test using the distant display emulator\n\nThe distant display emulator can be used to emulate the multi-screen hardware\nfound in some vehicles. Specifically, it emulates a device with a touch-enabled\ncenter screen and a non-touch dashboard screen. One example scenario for such a\nsetup would be for a user to send a video app to the dashboard screen while\ncontinuing to use the center screen to look up a destination in a navigation\napp.\n\nMove apps using the system UI\n-----------------------------\n\nThe primary way that users move apps to and from the distant display is using a\nsystem UI affordance. In the distant display emulator, this can be found in the\nstatus bar at the top of the screen.\nis the button\nto send the app to the distant display and\nis the\nbutton to return it to the main display. If your app is in immersive\nmode---that is, it's hidden the system bars---you'll need to reveal the status bar to\nshow these controls.\n\nMove apps using adb\n-------------------\n\nIn addition to the system UI affordance, you can use the following adb commands\nto move apps to and from the distant display. \n\n user_id=$(adb shell am get-current-user)\n adb shell am broadcast -a com.android.systemui.car.intent.action.MOVE_TASK --user $user_id --es move \"to_dd\"\n adb shell am broadcast -a com.android.systemui.car.intent.action.MOVE_TASK --user $user_id --es move \"from_dd\"\n\nControl media playback using adb\n--------------------------------\n\nFor apps that have [integrated with media session](/media/media3/session/control-playback),\nyou can use the following command to control playback. For example, this can be\nused to control playback of a video app while it's on the distant display. \n\n adb shell cmd media_session dispatch \u003cvar translate=\"no\"\u003eCOMMAND\u003c/var\u003e\n\n| **Tip:** Run `adb shell cmd media_session` to see full usage information."]]