The goal is to open some activity in one application. I'm testing on the transition to the settings. Try so
ProcessBuilder p = new ProcessBuilder(new String[]{"am start -n com.android.settings/.Settings"}); Process h = p.start(); Why is nothing happening? Still right! On the device under test, the application is granted root rights.
Activity, without using the commands of the "terminal"? - Vladyslav Matviienko