Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb-connect, adb-pair, adb-disconnect: add page #15250

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pages/common/adb-connect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# adb connect

> Connect to an android device wirelessly.
> More information: <https://developer.android.com/tools/adb>.

- Pair with an android device (address and pairing code can be found in developer options:
Managor marked this conversation as resolved.
Show resolved Hide resolved

`adb pair {{ip_address}}:{{port}}`

- Connect to an android device (port will be different from pairing):

`adb connect {{ip_address}}:{{port}}`

- Disconnect a device:

`adb disconnect {{ip_address}}:{{port}}`
7 changes: 7 additions & 0 deletions pages/common/adb-disconnect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# adb disconnect

> This command is an alias of `adb connect`.

- View documentation for the original command:
Copy link
Collaborator Author

@Managor Managor Dec 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> This command is an alias of `adb connect`.
- View documentation for the original command:
> This command has been moved to `adb connect`.
- View documentation for `adb disconnect`:

Something like this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be okay in my opinion. However, I'd like to wait for other reviewers' opinions on this one.

Copy link
Member

@sebastiaanspeck sebastiaanspeck Dec 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "has been moved to adb connect"?

And the second line is a bit strange; "view adb disconnect --> tldr adb connect

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make a suggestion for what you mean with the second line?


`tldr adb connect`
7 changes: 7 additions & 0 deletions pages/common/adb-pair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# adb pair

> This command is an alias of `adb connect`.

- View documentation for the original command:
Managor marked this conversation as resolved.
Show resolved Hide resolved

`tldr adb connect`
Loading