title: Android sending a http request every minute to server? repeating a task?
body: <p>I want to send a request to the server every minute, Basically I have method and needs to be run every min to send to server some query. what is the best way of doing this? I have searched on the internet and couldnt find a straight forward solution to this. I tried to use timer and timertask classes but it didnt work. I also found something about AlarmManager people say AlarmManager is the best way of doing this but I dont know how? could you direct me a sample application or if it is easy could you send me a sample code here. also I look forward to your opinion about this.</p>
  
  <p>Thank you</p>