What I m trying to create is a simple progress bar, that would load for ~10 sec. So what I want is a for loop like this:
for(int i = 1; i <= 100; i++) {
progressDialog.setProgress(i);
//100ms delay
}
Thanks