How to make a task (progressDialog) loading at least 2sec in Android?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/12402788/how-can-i-add-a-progress-dialog-in-asynctask-with-minimum-loading-time-2sec">How can I add a progress dialog in AsyncTask with minimum loading time (2sec)</a>  </p>
</blockquote>



<p>I would like to load something from Internet and config the camera.<br>
If the loading time is too short, it is not good for users.<br>
So, I want to load at least 2 sec. 
How to do it?</p>
