"adb shell dumpsys activity" prints the current activity stacks, plus other
core state in the activity manager.

On Thu, Dec 17, 2009 at 4:11 PM, rich <richk...@gmail.com> wrote:

> When debugging I've sometimes wanted a tool that would list running
> tasks and show which activities are on the history stack for each
> task. I can get a list of tasks by calling
> ActivityManager.getRunningTasks(). Each
> ActivityManager.RunningTaskInfo object in the list gives me
> interesting information such as the base activity, top activity, and
> number of activities in the task. I haven't found a way to actually
> enumerate all the activities in the task's history stack. Is there a
> way to get at such information?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to