Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have asked this question in StackOverflow, but I figured it should be asked here...

I need to run my android application from remote computer (in the same network) via SSH (not using ADB). How do I do that?

Thanks, Binyamin

share|improve this question
    
See also: How to launch Google Keep from shell?. About how to find the activity to start, see e.g. What is the main activity of Google Keep called? –  Izzy Mar 25 '13 at 11:30
add comment

1 Answer

You need to run an SSH server on your phone, such as SSHDroid.

You can launch adb shell from SSHDroid, and then run am start -a android.intent.action.MAIN -n <qualified-app-name>. For example, <qualified-app-name> is something like com.android.settings/.Settings.

share|improve this answer
    
Matthew, that's clear, but what kind of command should I send? –  MByD Mar 19 '11 at 19:16
    
Updated answer. –  Matthew Read Mar 19 '11 at 22:25
    
Thanks. will try that. –  MByD Mar 20 '11 at 8:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.