Đăng Khánh
New member
When start service () is called which service get created?
Answer
Starting a service
The Android system calls
the service’s onStartCommand() method and passes it the Intent, which specifies which service to start. Note: If your app targets API level 26 or higher, the system imposes restrictions on using or creating background services unless the app itself is in the foreground.
Answer
Starting a service
The Android system calls
the service’s onStartCommand() method and passes it the Intent, which specifies which service to start. Note: If your app targets API level 26 or higher, the system imposes restrictions on using or creating background services unless the app itself is in the foreground.