how to stop the user from quitting the app android
<p>My application sends an sql insert query everytime the telephone is tilted at more than 45°</p>

<p>I need either to stop the user from quitting the application or have it still running in the background so that it still sends the queries</p>

<p>basically I need the application to be running all the time, any ideas?
thanks</p>
