I\'m using the Android monkey test to test my android apps, it\'s works for my app, and is very cool. but I\'d like to test an application activity in specific, how could i
From the docs:
-c If you specify one or more categories this way, the Monkey will only allow the system to visit activities that are listed with one of the specified categories. If you don't specify any categories, the Monkey will select activities listed with the category Intent.CATEGORY_LAUNCHER or Intent.CATEGORY_MONKEY. To specify multiple categories, use the -c option multiple times — one -c option per category.
so you remove the DEFAULT and LAUNCHER category from your command, add the MONKEY one to the activity you want to test in your manifest and the command is now simply:
$ adb shell monkey -p my.package -c -v 500 -s "a random number"