reslove timer logic
<p>i did fastforward in music player by getting current time of the player (30 sec forward)</p>

<pre><code>if(sec&gt;=maxsec &amp;&amp; min&gt;=maxmin &amp;&amp; hour&gt;=maxhour)
      {
        next_buttonclick(null);

      }
    else 
    {
        sec=sec+30;
         if(sec&gt;=60)
         {
          sec=sec%60;
          min=min+1;
             if(min&gt;=60)
             {
                 min=min%60;
                 hour=hour+1;                
             }

         }
</code></pre>

<p>max is the time duration of media..</p>

<p>when i run this, it not working properly..
plz fix bug free..</p>

<p>also reverse</p>

<pre><code>if(sec&lt;=0 &amp;&amp; min&lt;=0 &amp;&amp; hour&lt;=0)
    {
        back_buttonclick(null);

    }
    else 
    {
        gettimeduration();
        sec=sec-30;
         if(sec&lt;0)
         {
             sec=60+sec;
             min=min-1;
             if(min&lt;0)
             {
                 min=60+sec;
                 hour=hour-1;

             }

         }
</code></pre>

<p>thanks in advance..</p>
