Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
を使おうとしていgetRunnningTasks(int maxNum)ます。
getRunnningTasks(int maxNum)
number にどの値を設定すればよいかわかりませんmaxNum。
maxNum
そこで、最大プロセス数を に設定しmaxNumます。
Androidで使用できるプロセスの最大数はいくつですか?
maxNum返されるタスクの最大数を設定しますgetRunningTasks。Integer.MAX_VALUEすべてのタスクを確実に取得したい場合は、そのまま渡すことができます。
getRunningTasks
Integer.MAX_VALUE