I am trying to use the getRunnningTasks(int maxNum).
I do not know what value should I set in the number maxNum.
So, I am going to set the maximum number of processes to maxNum.
What is the maximum number of processes that can be used in android?
maxNumsets the maximum number of tasks thatgetRunningTaskswill return. You could just pass inInteger.MAX_VALUEif you want to make sure you get all tasks.