Android: Ändern der Fortschritts-Dialog, text

ist es möglich, ändern Sie den progressDialog text?

mein code:

progressDialog = ProgressDialog.show(BackupActivity.this, "In progress", "test1");
                            new Thread() {
                                public void run() {
                                    try{
                                        sleep(10000);
                                            } catch (Exception e) {
                                                Log.e("tag", e.getMessage());
                                            } progressDialog.dismiss();
                                }
                            }.start();
                        }
                    });
                    selectExportsDialog = builder.create();
                }
                selectExportsDialog.show();
                break;          }

Möchte ich ändern, test1, test2 nach Beispiel 10 Sekunden. Möglich?

Dank

InformationsquelleAutor iGio90 | 2013-02-06

Schreibe einen Kommentar