Stopping background services during an android activity

Posted by fanar on Stack Overflow See other posts from Stack Overflow or by fanar
Published on 2010-03-17T18:20:07Z Indexed on 2010/03/17 18:21 UTC
Read the original article Hit count: 606

I am developing an android game right now, and it requires very precise timing and synchronization. That said, it is essential that there is no lag during the game. However I sometimes get lag spikes in the game, and I know its not the GC because I have run the ddms tool, and eliminated all the GC calls. However, I do see alot of background services popping up in my ddms logcat. Is there anyway to pause all services when my game is running?

I would appreciate any other solutions.

Thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about java