원거리 디스플레이 에뮬레이터를 사용하여 멀티스크린 하드웨어를 에뮬레이션할 수 있음
일부 차량에서 발견되지 않습니다. 특히 터치 지원 기기를 에뮬레이션합니다.
중앙 화면과 비터치 대시보드 화면입니다. 한 가지 시나리오는
설정은 사용자가 동영상 앱을 대시보드 화면으로 보내는 것이고
중앙 화면을 계속 사용하여 탐색 메뉴에서 대상을 찾습니다.
있습니다.
시스템 UI를 사용하여 앱 이동
사용자가 앱을 멀리서 디스플레이 간에 이동하는 주된 방법은
시스템 UI 어포던스입니다. 원거리 디스플레이 에뮬레이터에서는
상태 표시줄을 클릭합니다.
버튼
앱을 먼 디스플레이로 보내고
:
버튼을 누르면 기본 디스플레이로 돌아갑니다. 앱이 몰입형인 경우
즉, 시스템 표시줄이 숨겨져 있으면 상태 표시줄을 켜서
컨트롤을 표시합니다.
adb를 사용하여 앱 이동
시스템 UI 어포던스 외에도 다음 adb 명령어를 사용할 수 있습니다.
앱을 멀리 디스플레이와 멀어지는 디스플레이 간에 이동할 수 있습니다.
미디어 세션과 통합된 앱의 경우
다음 명령을 사용하여 재생을 제어할 수 있습니다. 예를 들어
원격 디스플레이에 있는 동영상 앱의 재생을 제어하는 데 사용됩니다.
adbshellcmdmedia_sessiondispatchCOMMAND
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","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-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."]]