I need to programmatically start an android application on a specified remote emulator. I think adb shell should be the right tool, but it seems the adb shell could be only accessed locally. Could anyone tell me how to get my job done?
I need to programmatically start an android application on a specified remote emulator. I
Share
How are you accessing the machine remotely?
When you access this machine remotely you either need to use Remote Desktop in Windows or Putty in Windows or SSH in Linux/UNIX and a phone needs to be connected in order to run ADB with it.
If you have that figured out, you can accomplish what you would like:
Open a Command Prompt/Terminal:
For Example:
View Example:
Please let me know if this helps!