title: android delay using handler
body: <p>I want to display a couple of images and add a delay between each image. 
  I did this and have no errors in the code but for some reason the app crashes.</p>
  
  <pre><code>Bitmap bitmap = BitmapFactory.decodeFile(imageIn);
      ImageView myImageView = (ImageView)findViewById(R.id.imageview);
      myImageView.setImageBitmap(bitmap);
      // Those are the only 2 lines I used to make my handler 
      Handler handlerTimer = new Handler();
      handlerTimer.postDelayed((Runnable) this, 20000);
  </code></pre>