Hi,

I have prgress dialog that gets displayed while me activity is reading
a file, but it the little circle in the dialog does not appear to
spin. I thought it was supposed to as i have seen this in other apps,
can anyone see what i am doing wrong here?

       // Display an indeterminate Progress-Dialog
        myProgressDialog = ProgressDialog.show(MPSViewer.this,
                  "Please wait...", "Adding map overlays...", true);

        mFile = file;

        if(file.contains("csv")){
                itemizedOverlay.removeOverlays();
                new Thread() {
                     public void run() {
                         ...
                         // READING THE FILE
                        ...
                        // Dismiss the Dialog
                          myProgressDialog.dismiss();
                     }
                }.start();


Liam
--~--~---------~--~----~------------~-------~--~----~
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