Android may be killing your Service in order to run something else. Try using setForeground() on the service so that it retains priority in the face of pressure from other apps.
Doug On Monday, March 21, 2011 1:56:52 AM UTC-7, stefan jakober wrote: > > Hey there, > > I've got a wired problem. I've got a tracking service which sends geo- > data to a server every 5 seconds. > When I run this service on the HTC Wildfire, there are no problems at > all (even when the phone goes standby), but when I use the HTC Desire, > the service seems to stop after 10 minutes standby though there is no > problem with the service when the phone's active. > > I will try to figure out the problem with testing some other phones, > but you guys might have an idea where the problem is and I would be so > thankful for every kind of help. I'm stuck on this problem for weeks. > > > thank you > stefan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en