mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
am: add Chinese translation (#6021)
This commit is contained in:
parent
026e22a874
commit
0ba1bba440
1 changed files with 20 additions and 0 deletions
20
pages.zh/android/am.md
Normal file
20
pages.zh/android/am.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# am
|
||||
|
||||
> Android 活动管理器。
|
||||
> 更多信息见:<https://developer.android.com/studio/command-line/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}}`
|
Loading…
Add table
Reference in a new issue