Chutanee / Getnet.inc

Apache License 2.0
0 stars 0 forks source link

Getnet: Activity command

usage: am [subcommand] [options]

usage: am start [-D] [-N] [-W] [-P ] [--start-profiler ]

           [--sampling INTERVAL] [-R COUNT] [-S]

           [--track-allocation] [--user <USER_ID> | current] <INTENT>

   am startservice [--user <USER_ID> | current] <INTENT>

   am stopservice [--user <USER_ID> | current] <INTENT>

   am broadcast [--user <USER_ID> | all | current] <INTENT>

   am to-uri [INTENT]

   am to-intent-uri [INTENT]

   am to-app-uri [INTENT]

am start: start an Activity. Options are:

-D: enable debugging

-N: enable native debugging

-W: wait for launch to complete

--start-profiler <FILE>: start profiler and send results to <FILE>

--sampling INTERVAL: use sample profiling with INTERVAL microseconds

    between samples (use with --start-profiler)

-P <FILE>: like above, but profiling stops when app goes idle

-R: repeat the activity launch <COUNT> times.  Prior to each repeat,

    the top activity will be finished.

-S: force stop the target app before starting the activity

--track-allocation: enable tracking of object allocations

--user <USER_ID> | current: Specify which user to run as; if not

    specified then run as the current user.

--stack <STACK_ID>: Specify into which stack should the activity be put.

am startservice: start a Service. Options are:

--user <USER_ID> | current: Specify which user to run as; if not

    specified then run as the current user.

am stopservice: stop a Service. Options are:

--user <USER_ID> | current: Specify which user to run as; if not

    specified then run as the current user.

am broadcast: send a broadcast Intent. Options are:

--user <USER_ID> | all | current: Specify which user to send to; if not

    specified then send to all users.

--receiver-permission <PERMISSION>: Require receiver to hold permission.

am to-uri: print the given Intent specification as a URI.

am to-intent-uri: print the given Intent specification as an intent: URI.

am to-app-uri: print the given Intent specification as an android-app: URI.

specifications include these flags and arguments: [-a ] [-d ] [-t ] [-c [-c ] ...] [-e|--es ...] [--esn ...] [--ez ...] [--ei ...] [--el ...] [--ef ...] [--eu ...] [--ecn ] [--eia [, [,) [--ela [, [,) [--efa [, [,) [--esa [, [,; to embed a comma into a string, escape it using "\,") [-f ] [--grant-read-uri-permission] [--grant-write-uri-permission] [--grant-persistable-uri-permission] [--grant-prefix-uri-permission] [--debug-log-resolution] [--exclude-stopped-packages] [--include-stopped-packages] [--activity-brought-to-front] [--activity-clear-top] [--activity-clear-when-task-reset] [--activity-exclude-from-recents] [--activity-launched-from-history] [--activity-multiple-task] [--activity-no-animation] [--activity-no-history] [--activity-no-user-action] [--activity-previous-is-top] [--activity-reorder-to-front] [--activity-reset-task-if-needed] [--activity-single-top] [--activity-clear-task] [--activity-task-on-home] [--receiver-registered-only] [--receiver-replace-pending] [--receiver-foreground] [--receiver-no-abort] [--receiver-include-background] [--selector] [ | | ] $ $