List of all activities in App

前端 未结 3 1389
借酒劲吻你
借酒劲吻你 2020-12-16 06:13

Is there any way, how to get list of all activities in running app?

I have tried:

ActivityInfo[] list = getPackageManager().getPackageArchiveInfo(
           


        
3条回答
  •  无人及你
    2020-12-16 07:04

    If the app is running, then use getPackageInfo(), instead of getPackageArchiveInfo().

提交回复
热议问题