I have a service in my Android Application which runs always.Now i have a settings from my server through GCM and update these settings to my service. I put my settings in oncreate of service. So i need to restart my service to fetch latest settings. How to restart my service?
Share
Call this two methods right after each other, which will causes the
Serviceto stop and start. Don’t know any method that “restarts” it. This is how I have implemented it in my application.