From 0ba1bba4404d3d7fc744ee92aae81f1f719cb183 Mon Sep 17 00:00:00 2001 From: BillLucky Date: Sun, 23 May 2021 22:49:42 +0800 Subject: [PATCH] am: add Chinese translation (#6021) --- pages.zh/android/am.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages.zh/android/am.md diff --git a/pages.zh/android/am.md b/pages.zh/android/am.md new file mode 100644 index 000000000..b547a49e6 --- /dev/null +++ b/pages.zh/android/am.md @@ -0,0 +1,20 @@ +# am + +> Android 活动管理器。 +> 更多信息见:. + +- 启动一个指定的活动: + +`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}}`