How to list all activities exposed by an application?

前端 未结 4 1447
鱼传尺愫
鱼传尺愫 2020-12-25 07:59

I think that it should be possible to get all the activities from \'third-party\' application, described in the manifest file. I can\'t figure out how.

for example:<

4条回答
  •  渐次进展
    2020-12-25 08:28

    You should be able to do just that using the PackageManager's getPackageArchiveInfo() using the GET_ACTIVITIES flag. I have not tried it though

提交回复
热议问题