[android-developers] Re: My service never runs more than few ours while other services run for days

2011-07-26 Thread Indicator Veritatis
Your advice is certainly sound, but I can sympathize with the OP's Service envy, thinking that his Service should also be able to persist for days like certain others. Then again, since he is talking about taking up as much as 10MB, he should not be surprised that his gets killed more often than

[android-developers] Re: My service never runs more than few ours while other services run for days

2011-07-26 Thread gjs
Hi, Have a look at this - http://jyro.blogspot.com/2009/09/crash-report-for-android-app.html Regards On Jul 27, 6:18 am, Indicator Veritatis mej1...@yahoo.com wrote: Your advice is certainly sound, but I can sympathize with the OP's Service envy, thinking that his Service should also be able

Re: [android-developers] Re: My service never runs more than few ours while other services run for days

2011-07-26 Thread Dianne Hackborn
It is very likely that the other services are also being killed and restarted. If you look at the uptime in Running Services, this is the time since the service was *originally* started. That is, how long it has been *wanting* to run without break. If it gets killed and restarted by the system,