1

Given an .apk, is there a way to figure out how you could launch the application from within a terminal emulator in an android device?

E.g. for com.wondershare.player-1.apk

I have read that you probably want to run something like ...

am start -n com.wondershare.player/com.wondershare.player.<name of the activity or something?>

And I've also seen ...

am start -a android.intent.action.MAIN -n com.wondershare.player/<name of class?>

Is there some where in the manifest or somewhere where I could look for hints to fill in the < blanks > in the above.

4

2 回答 2

0

如果您有开发者工具,您可以关闭 APK 并运行:

aapt dump badging <foo.apk>
于 2013-10-08T00:34:40.717 回答
0

好吧,我这样做的方式是,
安装超级管理器应用程序,转到 APK 管理器,然后点击应用程序,然后您可以在下面的菜单中看到活动按钮。这将为您提供应用程序的所有活动和服务。

于 2013-10-07T23:54:48.933 回答