How do you communicate between service and activity?

Nguyễn Pháp

New member
How do you communicate between service and activity?
Answer
We know how much service are important in Android Application Development. We already know that we can communicate with Service from activity just by using method startService() and passing Intent to the argument in the method, or either we can use bindService() to bind the service to the activity with argument Intent.
 

Tìm kiếm

Back
Top