I'm running a thread from a service where i'm listening for changers in the acceleronometer every 3 seconds. So i run the listener in a while loop with Thread.sleep(3000). But it tends to work with shorter duration. But in longer run it seems to get crash the whole application.
Any suggestions?