以下是一些示例命令:
# specifying the action and data uri
adb shell am start -a "android.intent.action.VIEW" -d "http://developer.android.com"
# specifying the action, mime type and an extra string
adb shell am start -a "android.intent.action.SEND" --es "android.intent.extra.TEXT" "Hello World" -t "text/plain"
# specifying an explicit component name
adb shell am start -n "com.example.application/.MainActivity"
应用程序
With intent
允许发送意图。
我在那里找到了这些信息:
http://www.xgouchet.fr/android/index.php?article42/launch-intents-using-adb