I'm assuming since your app already has code to send data to the server, you are asking how to do this every second...in which case you may want to research the
timer[
^] object. If that is not your question, you need to be more clear about which parts of your project you are having trouble with. And post the relevant code.