The process priorities in Android are as follows:
1. Foreground process: the activity that interacts with the user in the foreground, or the service bound with the foreground activity, these two processes are called foreground processes.
2. Visible process: visible but not in the foreground, the user is not clickable, it belongs to the visible process.
3. Service process: The process of service services is opened in the background.
4. Background process: For example, the current activity is the foreground process, press the home button, the foreground process has become a background process, but will not kill immediately, according to the memory of the tension of the corresponding recovery.
5. Empty process: the lowest priority process, no active components, in the cache for the purpose of preserving it, the system can kill it at any time.
"Android-2" Android process priority