Hello!

I want to use this to put while is doing a heavy operation. Here's the
code:

ProgressDialog PD = ProgressDialog.show(History.this, "", "Deleting,
please wait");
for (int i=0;i<idCodesLenght;i++){
        db.open();
        db.deleteCode(idCodes[i]);
        db.close();
}
loadList();
lv = getListView();
PD.cancel();

Like you see...what I want to delete all the content in the database.
So depending of the volume of info it has, it can be get more or less
time.

The problem is that....I don't see the progress dialog... :S, even if
it's fast or if it's slow....

What happens to it?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to