1. Foreground process
2. Visible process
3. Service process
4. Background process
5. Empty process
所以应该创建Service来进行长时间的后台工作,而不是创建Thread去做,因为Service Process的优先级要高于Background Process
本文探讨了不同类型的进程,如Foreground process、Visible process、Service process等,并强调在进行长时间后台任务处理时,使用Service而非Thread的原因在于Service process的优先级高于Background process。
1. Foreground process
2. Visible process
3. Service process
4. Background process
5. Empty process
所以应该创建Service来进行长时间的后台工作,而不是创建Thread去做,因为Service Process的优先级要高于Background Process

被折叠的 条评论
为什么被折叠?