Wednesday, November 12, 2014

command line - Is there a way to launch app via terminal in the background?


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


Something like the "&" in Linux...




Answer



Android is a Linux too, so a simple example :


am start -a android.intent.action.MAIN -n com.android.settings/.TetherSettings &

No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...