I have a very serious problem. I have an application that needs to ping the server periodically through HTTP. Now, the application runs very fine when it's launched and on the screen. However, when the user opens another application, my application goes into suspended mode. Is there any way that instead of going into suspended mode, it can keep pinging the server through HTTP?
I spent a lot lot time to find it's solution but nothing is working for me.
I am facing the same situation, my app work fine in foreground but when I move to backgroud they go to sleep.
I need to execute a http process each 15 secs on background, anyone have a workaround to work a simple http process in background, like a communication apps like skype?