is there any way to listen a Server action using a service?i want to check server message for life time and do actions based on server message,please post a sample code
Asked
Active
Viewed 5,938 times
2 Answers
0
Here i have example of using service, but it's doing some other thing. You can work it out.. http://maephv.blogspot.com/2011/08/android-notification-in-your.html
But remember, that when screen comes off, services freeze. I don't know yet how to fix it, but maybe "background process" is word to google

Maep
- 833
- 1
- 10
- 16
0
I think what you looking for is a long time running background service, check out this SO question.