1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages.zh/android/am.md
Vitor Henrique 006abfda34
pages*: sync https://developer.android.com more info links (#12288)
* pages*: sync https://developer.android.com more info links

* dalvikvm: fix wrong link
2024-02-22 17:53:50 +05:30

20 lines
517 B
Markdown

# am
> Android 活动管理器。
> 更多信息:<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}}`