I am developing a app. This should be run even screen goes to sleep. 
But this is not happening with my app, the app is finishing automatically if screen goes sleep. 
I googgled for this query but didn't find any relevant. Please some one suggest how to achieve this.