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?
Feature description
Add parameter
--displaytoam(e.g.am start --display 9 no.nrk.yr/.MainActivity)Additional information
Since version 4.0
scrcpyallows opening a new display (scrcpy --new-display=.....). Starting termux viascrpy(scrcpy --new-display=1000x1000 --start-app=com.termux) works well,termuxwill open on the new display. However, when I then use thistermuxinstance 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 --helpdoes not mention displays at all. Is there a workaround?