Latest Android Aptitude Question SOLUTION: Is it possible to have a service with multiple threads in it? How to achieve this?
Options
1) you can't have more than one thread in a service.
2) you can create multiple threads
Is it possible to have a service with multiple threads in it? How to achieve this?
Options
1) you can't have more than one thread in a service.
2) you can create multiple threads in a service
3) option 2 is possible by creating thread in onCreate()
4) option 2 is possible by creating thread in onStartCommand() of your service class.