Persistent services in Android
===

I'm trying to start a persistent service in Android. I've seen this problem a bunch of times in StackOverflow and etc but everything I've been trying to get it to work doesn't work. Right now it's set up so that persist=true tag is set in the application section in the Manifest. 

But when the user clicks Force Stop, the service that we're running doesn't start up. Right now (i.e. during normal app functionality) there's an intent in the manifest which will call a class, which then starts the activity which boots the service. After we force close, though, logcat says that the process for the application starts up, but the service won't start up as well.

Additionally there's no MAIN at the moment. However, even when a dummy MAIN is put in there, code placed in onCreate doesn't run when the process is restarted automatically.

Thanks