androidshellandroid-shell

whats does am start -n command do in android shell


I am trying to know, what does this command do when I write it in the terminal for android? and here is an example

am start -n com.whatsapp/com.whatsapp.HomeActivity

Thanks


Solution

  • Basically it'll tell am (Activity manager) to start an Activity.

    See here for more detailed info: http://developer.android.com/tools/help/adb.html#shellcommands