title: how to show images with time interval
body: <p>I want to create a splash screen,i want 5 images to be displayed back to back at certain time interval,Tried following code but didn't worked shows last image directly after few seconds blank screen.</p>
  
  <pre><code>img = (ImageView)findViewById(R.id.imageView1);
  img.setImageResource(R.drawable.pic1);
  try {
      Thread.sleep(10000);
      img.setImageResource(R.drawable.pic2);
      Thread.sleep(10000);
      img.setImageResource(R.drawable.pic3);
      Thread.sleep(10000);
      img.setImageResource(R.drawable.pic4);
      Thread.sleep(10000);
      img.setImageResource(R.drawable.pic5);
  } catch(Exception e) {
  }
  </code></pre>