Premise:
The AM command is used to make calls, turn on music players, and so on in the Android call Automation test. Here is a summary of the AM command.
Android am Command: (1) Command parameters:
AM START-N Package Name (package)/pack name. Activity Name
In fact, the starting method can be found from the application's Androidmanifest.xml file, however, there is no egg to use.
(2) Examples:
a) Start music, Video:
Am Start-n com.android.music/com.android.music.videobrowseractivity
Am Start-n com.android.music/com.android.music.mediaplaybackactivity
b) Start camera:
Am Start-n Com.android.camera/com.android.camera.camera
c) Call:
Am Start-a android.intent.action.call-d tel:10000
More... Cond...
Note: Open music How to make it play? can refer to:
http://blog.csdn.net/lugandong/article/details/47686927
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android uses AM command to make calls, open apps