title: Call an async task repeatedly (lets say every 10 seconds) using tasktimer
body: <p>My requirement is to call an async task repeatedly every 10 seconds so that the webservice will fetch data an do the update (updating of a map and image) accordingly.</p>
  
  <p>I searched throughout and found out that one can use a tasktimer for this. The problem I am facing is that a parameter is passed into my asynctask. But I am not able to pass that parameter into the tasktimer.</p>
  
  <p>I found out that for this a separate class should be created which extends timer task. But I have no idea how to get that done according to my need.</p>
  
  <p>Please be kind enough to help me. The code for passing a parameter to the async task is given below.</p>
  
  <pre><code>new AsyncLoadGpsDetails().execute(userName);
  </code></pre>
  
  <p>I want to repeatedly perform the async task. PLease help me, I don't know how to create the class which extends tasktimer as I'm a newbie to this.</p>
  
  <p>Thanks &amp; Regards in advance</p>