What is difference between activity & service?



What is difference between activity & service?..

Answer / Ritu Raj Kumar

In Android, an Activity is a single screen or interface in an application that users interact with. It represents a single focused thing that the user can do. On the other hand, a Service is a component that runs in the background and performs long-running operations without direct user interaction. Services cannot be directly interacted by the user.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

What is library module?

1 Answers  


What is android:maxsdkversion?

1 Answers  


What does adt stand for?

1 Answers  


Do you know the languages supported for android development?

1 Answers  


Explain me what is android sdk?

1 Answers  


Explain the services component of android?

1 Answers  


Can I update my version of android?

1 Answers  


How could we move the data in sub activity?

1 Answers  


Explain me what is the android application architecture?

1 Answers  


Explain key components of android architecture?

1 Answers  


How many android os are there?

1 Answers  


Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?

1 Answers  


Categories