I have created the service and its working fine while application is running. Service will stop when application instance closed. I resolved this issue by calling service from GCM notification appears and its not stop until the service operation complete.
But, Its not working locally even I am sending the local notification, Please anybody help to run the service in background even application closed .