Questions tagged [progressdialog]

An Android dialog that displays a progress wheel or progress bar. Because it's an extension of the AlertDialog, it also supports buttons.

1832 questions
21
votes
2 answers

How to use AsyncTask to show a ProgressDialog while doing background work in Android?

Possible Duplicate: Updating progress dialog in Activity from AsyncTask I am developing my first Android App and I need a ProgressDialog to be showed while a background task, in this case just a http call on the server, happens. I did a bit of…
groo
  • 3,589
  • 5
  • 38
  • 62
20
votes
2 answers

AsyncTask with a ProgressDialog and Progress Bar

I am attempting to use AsyncTask to load a file of determinate length. My AsyncTask looks something like this: protected void onPreExecute() { dialog = ProgressDialog.show(MyActivity.this, null, "Loading", false); } protected void…
magneticMonster
  • 2,254
  • 5
  • 28
  • 44
20
votes
3 answers

Show a progress bar when an Activity is loading

I have a ListActivity which launches another Activity based on the list selection. This second Activity needs to load a fair bit of data from the internet and as such there is a noticeable delay between when the user clicks on an item and when the…
Adam
  • 417
  • 2
  • 6
  • 18
20
votes
2 answers

Updating progress dialog in Activity from AsyncTask

In my app I am doing some intense work in AsyncTask as suggested by Android tutorials and showing a ProgressDialog in my main my activity: dialog = ProgressDialog.show(MyActivity.this, "title", "text"); new MyTask().execute(request); where then…
Laimoncijus
  • 8,187
  • 9
  • 55
  • 80
19
votes
8 answers

Using custom ProgressDialog android

I am using custom ProgressDialog in my application, I am able to make it custom but I also want to remove the upper border or window of progressDialog. In styles.xml I define customDialog as