Is it possible to implement a C# web service to get data periodically. I have hosted a web service. Through that I want to get accelerometer data of an android phone periodically. Do I need to write code to the phone application to send data periodically or else can I do that in the web service. In the phone application I have called getData function in the web service.