Question: what is the difference between activity and services in android?
Answer: Activity is a GUI and service is non-gui thread which can run in the background. Some more details here. Activity An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email, or view a map.