Fwiw, that is the API used to determine the recent tasks to show in the task
switcher.
On Thu, Apr 28, 2011 at 12:15 AM, Dianne Hackborn wrote:
> Yes it returns the recent tasks. You'll need to describe more what you
> mean by "it didn't work out well."
>
>
> On Wed, Apr 27, 2011 at 9:14 AM, Sim
Yes it returns the recent tasks. You'll need to describe more what you mean
by "it didn't work out well."
On Wed, Apr 27, 2011 at 9:14 AM, Simon wrote:
> Hello!
>
> I need a little bit help getting information about the last lets say 5
> application that was opened/used.
>
> ActivityManager m =
Hello!
I need a little bit help getting information about the last lets say 5
application that was opened/used.
ActivityManager m =
(ActivityManager)this.getSystemService(ACTIVITY_SERVICE);
RecentTaskInfo task = m.getRecentTasks(5,0).get(0);
Then i used:
String output = "the last appli
3 matches
Mail list logo