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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command to launch an app via terminal and have it start in the background?

Something like the "&" in Linux...

share|improve this question
up vote 2 down vote accepted

Android is a Linux too, so a simple example :

am start -a android.intent.action.MAIN -n com.android.settings/.TetherSettings &
share|improve this answer
    
pardon, my mistake. It does work! Thanks. – Andrea Oct 2 '12 at 13:01

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.