What is the difference between service and thread?



What is the difference between service and thread?..

Answer / Vineet Rathor

"A Service in Android is a component that can perform long-running operations like playing music or downloading data in the background, even when the user switches to another app. On the other hand, a Thread is a separate path of execution in a program, which allows you to run multiple tasks concurrently within an application."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

What are the four essential states of an activity?

1 Answers  


Are the Android releases available in a ROM?

1 Answers  


How do you pass the data to sub-activities android?

1 Answers  


What is the correct way of setting up an android-powered device for app development?

1 Answers  


What is the latest version of android for galaxy s7?

1 Answers  


What is orientation in android? How is it done?

1 Answers  


Define the application resource file in android?

1 Answers  


How to send sms in android?

1 Answers  


Who invented android os?

1 Answers  


Can you deploy executable jars on android?

1 Answers  


What is staggered grid in android?

1 Answers  


what is intent, pending intent, and sticky intent?

1 Answers  


Categories