mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
android/*: add Japanese translation (#17324)
This commit is contained in:
parent
fcdd305c96
commit
58cc6d832b
14 changed files with 278 additions and 0 deletions
20
pages.ja/android/am.md
Normal file
20
pages.ja/android/am.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# am
|
||||
|
||||
> Android Activity Manager(アクティビティ マネージャー)
|
||||
> もっと詳しく: <https://developer.android.com/tools/adb#am>。
|
||||
|
||||
- 指定したコンポーネントとパッケージ名でアクティビティを開始します:
|
||||
|
||||
`am start -n {{com.android.settings/.Settings}}`
|
||||
|
||||
- インテントアクションを開始させ、データを渡します:
|
||||
|
||||
`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}`
|
||||
|
||||
- 指定したカテゴリーとマッチしたアクティビティを実行します:
|
||||
|
||||
`am start -a {{android.intent.action.MAIN}} -c {{android.intent.category.HOME}}`
|
||||
|
||||
- インテントをURIに変換します:
|
||||
|
||||
`am to-uri -a {{android.intent.action.VIEW}} -d {{tel:123}}`
|
9
pages.ja/android/bugreport.md
Normal file
9
pages.ja/android/bugreport.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# bugreport
|
||||
|
||||
> Androidのバグレポートを表示します。
|
||||
> このコマンドは `adb shell` 経由でのみ実行できます。
|
||||
> もっと詳しく: <https://cs.android.com/android/platform/superproject/+/main:frameworks/native/cmds/bugreport>。
|
||||
|
||||
- Androidデバイスの完全なバグレポートを表示します:
|
||||
|
||||
`bugreport`
|
25
pages.ja/android/bugreportz.md
Normal file
25
pages.ja/android/bugreportz.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# bugreportz
|
||||
|
||||
> 圧縮されたAndroid バグレポートを生成します。
|
||||
> このコマンドは `adb shell` 経由でのみ実行できます。
|
||||
> もっと詳しく: <https://cs.android.com/android/platform/superproject/+/main:frameworks/native/cmds/bugreportz>。
|
||||
|
||||
- 圧縮されたAndroidデバイスの完全なバグレポートを生成します:
|
||||
|
||||
`bugreportz`
|
||||
|
||||
- 実行中の `bugreportz` の進捗を表示します:
|
||||
|
||||
`bugreportz -p`
|
||||
|
||||
- バグレポートの内容を標準出力 `stdout` に出力します:
|
||||
|
||||
`bugreportz -s`
|
||||
|
||||
- ヘルプを表示します:
|
||||
|
||||
`bugreportz -h`
|
||||
|
||||
- バージョンを表示します:
|
||||
|
||||
`bugreportz -v`
|
16
pages.ja/android/cmd.md
Normal file
16
pages.ja/android/cmd.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# cmd
|
||||
|
||||
> Android サービスマネージャー。
|
||||
> もっと詳しく: <https://cs.android.com/android/platform/superproject/+/main:frameworks/native/cmds/cmd/>。
|
||||
|
||||
- 実行中のすべてのサービスを表示します:
|
||||
|
||||
`cmd -l`
|
||||
|
||||
- 指定したサービスを呼び出します:
|
||||
|
||||
`cmd {{service}}`
|
||||
|
||||
- 指定した引数でサービスを呼び出します:
|
||||
|
||||
`cmd {{service}} {{argument1 argument2 ...}}`
|
8
pages.ja/android/dalvikvm.md
Normal file
8
pages.ja/android/dalvikvm.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# dalvikvm
|
||||
|
||||
> Android Java 仮想環境。
|
||||
> もっと詳しく: <https://source.android.com/docs/core/runtime>。
|
||||
|
||||
- 指定したJavaプログラムを開始します:
|
||||
|
||||
`dalvikvm -classpath {{path/to/file.jar}} {{classname}}`
|
29
pages.ja/android/dumpsys.md
Normal file
29
pages.ja/android/dumpsys.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dumpsys
|
||||
|
||||
> Android システムサービスの情報を取得します。
|
||||
> このコマンドは `adb shell` 経由でのみ実行できます。
|
||||
> もっと詳しく: <https://developer.android.com/tools/dumpsys>。
|
||||
|
||||
- すべてのシステムに対して診断を出力します:
|
||||
|
||||
`dumpsys`
|
||||
|
||||
- 特定のシステムに対して診断を出力します:
|
||||
|
||||
`dumpsys {{service}}`
|
||||
|
||||
- `dumpsys` で表示できるすべてのサービスの情報を表示します:
|
||||
|
||||
`dumpsys -l`
|
||||
|
||||
- 指定したサービスを引数をサービスに表示させます:
|
||||
|
||||
`dumpsys {{service}} -h`
|
||||
|
||||
- 指定したサービスを診断から除外して出力します:
|
||||
|
||||
`dumpsys --skip {{service}}`
|
||||
|
||||
- タイムアウトを秒数で指定します。(デフォルトは10秒):
|
||||
|
||||
`dumpsys -t {{8}}`
|
32
pages.ja/android/getprop.md
Normal file
32
pages.ja/android/getprop.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# getprop
|
||||
|
||||
> Androidのシステムプロパティについての情報を表示します。
|
||||
> もっと詳しく: <https://manned.org/getprop>。
|
||||
|
||||
- Android のシステムプロパティについての情報を表示します:
|
||||
|
||||
`getprop`
|
||||
|
||||
- 指定したプロパティの情報を表示します:
|
||||
|
||||
`getprop {{property}}`
|
||||
|
||||
- SDK API レベルを表示します:
|
||||
|
||||
`getprop {{ro.build.version.sdk}}`
|
||||
|
||||
- Androidのバージョン情報を表示します:
|
||||
|
||||
`getprop {{ro.build.version.release}}`
|
||||
|
||||
- Androidのデバイス情報を表示します:
|
||||
|
||||
`getprop {{ro.vendor.product.model}}`
|
||||
|
||||
- OEMのアンロック状況を表示します:
|
||||
|
||||
`getprop {{ro.oem_unlock_supported}}`
|
||||
|
||||
- Android の Wi-FiカードのMACアドレスを表示します:
|
||||
|
||||
`getprop {{ro.boot.wifimacaddr}}`
|
25
pages.ja/android/input.md
Normal file
25
pages.ja/android/input.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# input
|
||||
|
||||
> イベントコードまたはタッチスクリーンジェスチャーをAndroidデバイスに送信します。
|
||||
> このコマンドは `adb shell` 経由でのみ実行できます。
|
||||
> もっと詳しく: <https://developer.android.com/reference/android/view/KeyEvent.html#constants_1>。
|
||||
|
||||
- Androidデバイスに1文字のイベントコードを送信します:
|
||||
|
||||
`input keyevent {{event_code}}`
|
||||
|
||||
- Androidデバイスにテキストを送信します。(`%s` はスペースを表します):
|
||||
|
||||
`input text "{{text}}"`
|
||||
|
||||
- Androidデバイスに単一のタップを送信します:
|
||||
|
||||
`input tap {{x_position}} {{y_position}}`
|
||||
|
||||
- Android デバイスにスワイプジェスチャーを送信します:
|
||||
|
||||
`input swipe {{x_start}} {{y_start}} {{x_end}} {{y_end}} {{duration_in_ms}}`
|
||||
|
||||
- Androidデバイスにホールドをスワイプジェスチャーを利用して送信します:
|
||||
|
||||
`input swipe {{x_position}} {{y_position}} {{x_position}} {{y_position}} {{duration_in_ms}}`
|
24
pages.ja/android/logcat.md
Normal file
24
pages.ja/android/logcat.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# logcat
|
||||
|
||||
> エラー時に発生したスタックトレースを含む、アプリケーションによって作成されたログや、システムメッセージのログを削除します。
|
||||
> もっと詳しく: <https://developer.android.com/tools/logcat>。
|
||||
|
||||
- システムログを表示します:
|
||||
|
||||
`logcat`
|
||||
|
||||
- 指定したファイルにシステムログを書き出します:
|
||||
|
||||
`logcat -f {{path/to/file}}`
|
||||
|
||||
- 正規表現にマッチする行を表示します:
|
||||
|
||||
`logcat --regex {{regular_expression}}`
|
||||
|
||||
- 指定したPIDのログを表示します:
|
||||
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- 特定のパッケージのプロセスのログを表示します:
|
||||
|
||||
`logcat --pid $(pidof -s {{package}})`
|
24
pages.ja/android/pkg.md
Normal file
24
pages.ja/android/pkg.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# pkg
|
||||
|
||||
> Termux 用パッケージ管理ユーティリティ。
|
||||
> もっと詳しく: <https://wiki.termux.com/wiki/Package_Management>。
|
||||
|
||||
- すべてのインストールされたパッケージをアップグレードします:
|
||||
|
||||
`pkg upgrade`
|
||||
|
||||
- パッケージをインストールします:
|
||||
|
||||
`pkg install {{package}}`
|
||||
|
||||
- パッケージをアンインストールします:
|
||||
|
||||
`pkg uninstall {{package}}`
|
||||
|
||||
- パッケージを再インストールします:
|
||||
|
||||
`pkg reinstall {{package}}`
|
||||
|
||||
- パッケージを検索します:
|
||||
|
||||
`pkg search {{package}}`
|
24
pages.ja/android/pm.md
Normal file
24
pages.ja/android/pm.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# pm
|
||||
|
||||
> Android デバイスに関連するアプリケーションの情報を表示します。
|
||||
> もっと詳しく: <https://developer.android.com/tools/adb#pm>。
|
||||
|
||||
- インストールされたすべてのアプリケーションを表示します:
|
||||
|
||||
`pm list packages`
|
||||
|
||||
- インストールされたすべてのシステムアプリケーションを表示します:
|
||||
|
||||
`pm list packages -s`
|
||||
|
||||
- インストールされたすべてのサードパーティ製アプリケーションを表示します:
|
||||
|
||||
`pm list packages -3`
|
||||
|
||||
- 指定したキーワードにマッチするアプリケーションを表示します:
|
||||
|
||||
`pm list packages {{keyword1 keyword2 ...}}`
|
||||
|
||||
- 指定したアプリケーションのAPKのパスを表示します:
|
||||
|
||||
`pm path {{app}}`
|
9
pages.ja/android/screencap.md
Normal file
9
pages.ja/android/screencap.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# screencap
|
||||
|
||||
> モバイルディスプレイのスクリーンショットを撮影します。
|
||||
> このコマンドは `adb shell` 経由でのみ実行できます。
|
||||
> もっと詳しく: <https://developer.android.com/tools/adb#screencap>。
|
||||
|
||||
- スクリーンショットを撮影します:
|
||||
|
||||
`screencap {{path/to/file}}`
|
20
pages.ja/android/settings.md
Normal file
20
pages.ja/android/settings.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# settings
|
||||
|
||||
> Android OSに関連する情報を取得します。
|
||||
> もっと詳しく: <https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>。
|
||||
|
||||
- `global` 名前空間にある設定を表示します:
|
||||
|
||||
`settings list {{global}}`
|
||||
|
||||
- 指定した設定値を取得します:
|
||||
|
||||
`settings get {{global}} {{airplane_mode_on}}`
|
||||
|
||||
- 指定した設定値を設定します:
|
||||
|
||||
`settings put {{system}} {{screen_brightness}} {{42}}`
|
||||
|
||||
- 指定した設定を削除します:
|
||||
|
||||
`settings delete {{secure}} {{screensaver_enabled}}`
|
13
pages.ja/android/wm.md
Normal file
13
pages.ja/android/wm.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# wm
|
||||
|
||||
> Android デバイスのスクリーンに関する情報を表示します。
|
||||
> このコマンドは `adb shell` 経由でのみ実行できます。
|
||||
> もっと詳しく: <https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>。
|
||||
|
||||
- Android デバイスの物理サイズを表示します:
|
||||
|
||||
`wm size`
|
||||
|
||||
- Android デバイスの画面の物理的密度を表示します:
|
||||
|
||||
`wm density`
|
Loading…
Add table
Reference in a new issue