Skip to content

[Feature]: Add parameter --display to am start  #5133

@hanslub42

Description

@hanslub42

Feature description

Add parameter --display to am (e.g. am start --display 9 no.nrk.yr/.MainActivity)

Additional information

Since version 4.0 scrcpy allows opening a new display (scrcpy --new-display=.....). Starting termux via scrpy (scrcpy --new-display=1000x1000 --start-app=com.termux) works well, termux will open on the new display. However, when I then use this termux instance to start an app (say with $ am start no.nrk.yr/.MainActivity) the app will appear on display 0 (the phone itself), and not on the new display, as I expected.

am --help does not mention displays at all. Is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions