...
Approximately the same as execution of commands in the Terminal Emulator for Android
Warning |
---|
This action is not the ADB command! It is worth perceiving as a console or an emulator terminal. |
...
BusyBox - a set of unix-utilities of the command line. More details you can read in Wikipedia.
Almost every command has additional arguments that can be as negligible and dramatically influence it work.
For information, it is worth referring to the documentation of the relevant command.
...
Because All this is the basic Linux commands, then on the Internet a huge amount of information, instructions and explanations to work with them.
Just enter a species request in the search string linux <command_name> пример
or linux команда <command_name> пример
, where <command_name>
- the name of the required command.
List of popular commands
Команда | Описание | Пример |
---|---|---|
| Clear console window |
|
| Exit from the console of the emulator |
|
| Copy files |
|
| Displays the contents of the directory on the specified path |
|
| Moving files and directories |
|
| Deleting files |
|
| Removal of an empty directory |
|
| Creating a file |
|
| Creating a directory |
|
| Path of the current directory |
|
| Displays the current date and time |
|
| File size |
|
| List of working services |
|
Specific Android commands - am
and pm
...
Info |
---|
This subsection is based on the article How Android works, part 3 (rus) |
Official documentation of the am
command - Call activity manager
Command am
- this wrapper over the class ActivityManager.
...
Like pages on one site, activities of one application can be run both from each other and independently of each other (by other applications). If on the web another page is accessed by a URL (link), then in Android activities are run through intents.
Intent — it is a message that tells the system what to "do" (for example, open a given URL, write an email to a given address, call a given phone number, or take a photo).
...
Official documentation for the team pm
- Call package manager
This command allows you to install and uninstall applications, interact with packages of installed applications (delete data, enable / disable an application), get a list of installed applications, etc.
Expand | ||
---|---|---|
| ||
|
...