2

How can we get number of activities in activity stack android. As getrunningTask() has been deprecated,please help out.

1 Answers1

0

i think you have to use now the :

    List<ActivityManager.AppTask>   getAppTasks()
Adliano Alves
  • 311
  • 2
  • 6