I need a service to run forever, even after the application is closed. I implemented the following tutorial: http://docs.appcelerator.com/titanium/3.0/#!/guide/Simple_Android_Services_in_Titanium , under the "Features" section of this tutorial, it is clearly written: "Service can survive – i.e., keep going – even when you back out of an application". But it doesn't when we swipe application from the recent apps list(press and hold home button and swipe the app). When application is removed from recent app list, service doesn't stops and restarts automatically but it takes lots of time to restart. Any Suggestion? I want the service to continue without restarting. Happy Coding.
↧