从亚行开始申请电话

时间:2012-09-02 09:17:20

标签: android android-activity adb

我想通过adb工具在手机上启动应用程序。 我按照这个帖子[Link]

[1]:How to start an application using android ADB tools?但是,例如,如果我想开始愤怒的小鸟游戏,我怎么能发现包的主要活动?

非常感谢。

2 个答案:

答案 0 :(得分:3)

如果您从Google Play安装应用AppXplore,则可以检查已安装的应用并了解APK中的包名称活动。< / p>

我刚刚验证了它,它通过从adb shell启动Adobe Reader来实现:

am start -n com.adobe.reader/com.adobe.reader.AdobeReader

答案 1 :(得分:0)

我们可以使用am-:activity manager

启动任何应用程序
    adb shell am start android.intent.action.VIEW
    adb shell am start com.android.Browser