You can use ActivityManager to query list of running tasks
(getRunningTasks(int))
On Thu, Aug 20, 2009 at 2:22 AM, Chris Stratton cs07...@gmail.com wrote:
Is there any way for a backfround task to programmatically detect or
recognize by learned id which application or screen (different
On Aug 28, 1:45 pm, Hong lordh...@gmail.com wrote:
You can use ActivityManager to query list of running tasks
(getRunningTasks(int))
Hi Hong. Yes, I found I could do this, but it was not usefully
specific. Even when I looked at the priority to select only those
with the priority that means
In each RunningTaskInfo, you can find its respective top activity by:
ComponentName top = task.topActivity;
But you are right, in Android system, there are multiple tasks/processes
running at any given time.
And telephony related tasks/services/processes will be given the highest
priority.
If
On Aug 28, 3:02 pm, Hong lordh...@gmail.com wrote:
But you are right, in Android system, there are multiple tasks/processes
running at any given time.
And telephony related tasks/services/processes will be given the highest
priority.
And this that is my problem... I've been trying to find
4 matches
Mail list logo