[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."]]