I am very new to services
In my application there is a 2 button "start" and "stop"
if user press a start button then i want to start a service that can run even after the application is closed
and when user again open the application if he press the button stop then i want to stop the service that i have created and run before
So far i have created a service and i am returning the START_STICKY from OnStartCommand method and service runs even after i close the app
But when i again open the app and try to stop by pressing button stop it is not stopping i hope it is again recreating
Please help me if anyone knows about this....
Thanks in Advance