androidtaskmanagerrecent-file-list

how to open the task Manager on a button click in android?


I want to open the Task Manager (recent apps window) by clicking a Button in android. When I will be clicking that Button, I need the task manager window (which normally arrives by long pressing the home button or clicking the recent apps button) to be available. But can't find anything on Web that is really helpful. Please help me guys. Desperately need the answer. I am completely out of idea about this.


Solution

  • You are not able to open the Recent Task list via a Button - it is not accecible.

    However, you could quite easily create your own using getRecentTasks

    Read here for more information.

    Good luck!