0

Hi and thanks for your help,

I have the code of third party application that, I believe, creates more that one Activity and probably more than an instance of the same Activity.

Please on Emulator using Eclipse, how can I understand/monitor which activities are created in the application during its exexution?

Thanks for any suggestion.

Lisa Anne
  • 4,482
  • 17
  • 83
  • 157

1 Answers1

2

You can use command line:

adb shell dumpsys activity

This command will print activity history in every task. So you can see which activities were created. Check this question.

P.S. If you really have source code, why dont you look throught it and find all places where new activity get started? You can add log output at onCreate of every activity... question isn't clear )

Community
  • 1
  • 1
Leonidos
  • 10,482
  • 2
  • 28
  • 37