What are the types of services in Android?
Answer
Types of Android Services
Answer
Types of Android Services
- Foreground Services: …
- Background Services: …
- Bound Services: …
- Playing music in the background is a very common example of services in android. …
- Step 1: Create a new project.
- Step 2: Modify strings.xml file. …
- Step 3: Working with the activity_main.xml file. …
- Step 4: Creating the custom service class.