I have a question about onStart() method with windows service. Do I put main execution code in onStart() method? It looks like it will not start until it executes all code within onStart() method. I have a thread started in the onStart() method and it is infinite so Service never starts. Where I can place my start thread code in order to be able to start the service and have the thread running.
Many thanks