Possible Duplicate:
How can I keep my Android service running when the screen is turned off?
In my application. i call web services to check updates on webserver that is sended by android application.
My application is not running when mobile is locked and i want to run my application in background.
I’ll be thankful for your advices
The reason is that when your application doesn’t have focus (I assume that you are using an
Activity) it is paused or stopped.You can use a Service if you want to run something in the background.