1. 程式人生 > >android monkey

android monkey

4 附錄 
4.1 monkey 工具的命令選項
 
usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...] 
              [-c MAIN_CATEGORY [-c MAIN_CATEGORY] ...] 
              [--ignore-crashes] [--ignore-timeouts] 
              [--ignore-security-exceptions] 
              [--monitor-native-crashes] [--ignore-native-crashes] 
              [--kill-process-after-error] [--hprof] 
              [--pct-touch PERCENT] [--pct-motion PERCENT] 
              [--pct-trackball PERCENT] [--pct-syskeys PERCENT] 
              [--pct-nav PERCENT] [--pct-majornav PERCENT] 
              [--pct-appswitch PERCENT] [--pct-flip PERCENT] 
              [--pct-anyevent PERCENT] 
              [--pkg-blacklist-file PACKAGE_BLACKLIST_FILE] 
              [--pkg-whitelist-file PACKAGE_WHITELIST_FILE] 
              [--wait-dbg] [--dbg-no-events] 
              [--setup scriptfile] [-f scriptfile [-f scriptfile] ...] 
              [--port port] 
              [-s SEED] [-v [-v] ...] 
              [--throttle MILLISEC] [--randomize-throttle] 
              [--profile-wait MILLISEC] 
              [--device-sleep-time MILLISEC] 
              [--randomize-script] 
              [--script-log] 
              [--bugreport] 
              COUNT