Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Titanium Android Background Service Restarts

$
0
0

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.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>