What does the -n do?
Here is the doc for am: *usage: am start [-D] [-W] [-P <FILE>] [--start-profiler <FILE>]* * [--R COUNT] [-S] [--opengl-trace] <INTENT>* On Tuesday, October 23, 2012 10:06:46 AM UTC-5, Guy Nicholas wrote: > > For automated testing purposes I am trying to launch my app via the > command line, and have it not return until the app is finished. I am using > this shell command: > adb shell am start -W -S -n com.whatever.my_app/.RunAllTests; > The problem is this works sometimes, and when it doesn't, it hangs and > never returns. In LogCat, and on the device or emulator, I see my app > launch, run tests, and quit, but I am still stuck in the shell command. > Any ideas why this fails to return? > > Regards, Guy > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

