I tried a lot to get the list of recent and running applications(not processes) but couldn\'t get it.
I went through all the stackoverflow questions regarding this b
Recent you can get from getRecentTasks which returns RecentTaskInfo.