title: How to Stop Recursive Call Of Handler?
body: <p>I created a handler, to imitate timer task. 
  because TimerTask was acting differently on different tablets.
  so I created this handler method.
  in timer there was a method <code>timerTask.cancel();</code>
  but how to stop this handler
  it keeps on running even after the application is exited.
  as you can see logs running even after back press.</p>
  
  <pre><code>Handler handler = new Handler();
  
  public void recursivelycallHandler(){
      handler.postDelayed(new Runnable() {
          @Override
          public void run() {
  
              Log.d("handler is running", "true" + System.currentTimeMillis());
              recursivelycallHandler();
  
          }
      }, 100);
  }
  </code></pre>