Regarding multitasking in an Android app

I want to run several applications at the same time. How one application should start in the background when starting a new application, and I need to switch between these two applications.

If someone has a code for this, please help me.

Give some website links to learn about multitasking in android and how to achieve it.

+3
source share
1 answer

If you want to run something in the background, you must use Service . Services are not killed, except in extreme memory situations. Read the Application Basics for more details .

+4
source

Source: https://habr.com/ru/post/1711545/


All Articles