Newest 'progressdialog' Questions - Stack Overflow

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.

0
votes
0answers
28 views

What is logic to create progress bar based on the size of the list? [duplicate]

How can we create a progress bar logic based on the list.For example My list: [1,2,3,4,5,6,7,8,9,10] has 10 elements .I have to update progress bar when each time one item will be poped.So that ...
1
vote
1answer
34 views

Progress-dialog dismisses before appearing on the screen while the page is still loading

I have a firebase recyclerview in which i am trying to populate some data from the firebase database. the data is loaded quite smoothly after 2 seconds of initial page-load. while the page is loaded ...
-1
votes
3answers
96 views

Show progress dialogue while list is loading

I am making app that shows the list of applications Here is my code:- MainActivity.java import android.app.*; import android.content.*; import android.content.pm.*; import android.os.*; import ...
1
vote
0answers
30 views

Can't dismiss ProgressDialog in onPostExecute

So, my progress dialog not dismiss in onPostExecute. I'm using fragment. I didn't know where my problem is. I had search and try many solution, but all of that not working As I said before, I had try ...
0
votes
0answers
13 views

Progress dialog's IncrementProgressBy is not working as expected

Before reaching the max value, I see progress dialog seek bar goes to 100% of the line and it waits at 100% untill it reaches max value Here is the code I start the Progress dialog: public void ...
0
votes
1answer
27 views

how to solve - Attempt to invoke virtual method 'void android.app.ProgressDialog.dismiss()' on a null object reference

I'm a beginner & I don't know most of the Android Paradigms please help!! Sorry!! if anyone find's this question a duplicate. I'm facing a problem with ProgressDialog dismissing on null ...
0
votes
0answers
7 views

edit Android progressive modal phrases and button after created

After receive the compressed file from the server with HTTP, unpacking the file to a specific location. In case of bad network environment, there was a problem stopping receiving files through HTTP ...
1
vote
1answer
22 views

Update ProgressDialog with ProgressBar after rotation

My application processes some images in a thread and meanwhile it shows a dialog with a progressbar. progressDialog = new ProgressDialog(Activity.this); progressDialog.setProgressStyle(size); ...
0
votes
1answer
44 views

How to replace message of progress dialog with animation gif?

I have a progress dialog but I wanted to replace the dialog's message with a custom animation gif displaying a file being saved to camera roll instead of showing just "saving". I wanted the animation ...
1
vote
1answer
92 views

App crashes when using ProgressDialog within AsyncTask

I have in my application a time consuming task which takes some minutes to finish. The task is about image matching using ORB algorithm, an image query is compared with all images in gallery and then ...
-1
votes
1answer
23 views

How to show custom image progress in Android?

I want to show a progress bar like below. https://www.uplabs.com/posts/freebie-preloade03 How to do that and which image format will work? Please give your inputs.
0
votes
1answer
31 views

Problem showing progress dialog while running code

I am trying to show a progress dialog with percentage while executing a long running code, I used AsyncTask for this purpose but it did not work, the functionality is as follow: I get the array paths ...
0
votes
3answers
42 views

removing background from progress dialog

I use a custom progress dialog in my app. It's shown in the photo below.I want to edit two things.First, remove that black background that appears behind the circle.Second, increase the volume of the ...
0
votes
0answers
93 views

progressdialog not working on nestedscroll view layout in android programatically

progress dialog does not work on Nested scroll view in android programmatically I'm Using Adapter of Recylerview in one more Recyclerview use(Nested Recylerview). but the custom progress bar not ...
-3
votes
1answer
28 views

How to implement a ProgressDialog as follows: Start, Finish checking, Close dialog then open new Activity?

I'm using my phone, so no code I can copy for now. But I'm making a LoginScreen which leads to HomeScreen if the user exists. I want a Spinner ProgressDialog shows once I click LoginButton, then the ...
0
votes
0answers
102 views

Asynctask (progressDialog) - Failed to set damage region EGL_BAD_ACCESS

Help me - I am really stuck on the following issue: The exception is thrown outside the scope of JVM and cannot be handled unless you know the NDK. 03-23 17:48:24.463 18768-18913/se.android.appinfo ...
0
votes
1answer
49 views

JavaFX progress indicator stop spinning when heavy load runs

I am trying to implement busy indicator using ProgressIndicator. But when the heavy load starts the indicator freezes. A sample code is shown below. import javafx.beans.value.ChangeListener; import ...
0
votes
2answers
54 views

progressDialoge not Updating

i have been using AsyncTask to download a certain file and went through a few tutorials and just failed to get the progress bar to move with the download. the code is and AsyncTask that calls a method ...
1
vote
0answers
41 views

Problem with high values for wxPython.ProgressDialog

up front: I am using wxPython-4.0.4, Python 3.7.2, wx.ProgressDialog, and Windows 10 I encountered a problem while trying to create a progress bar. I was reading a file with over 1 mil. lines and ...
0
votes
0answers
35 views

ProgressDialog stuck using AsyncTask

I am using AsyncTask for downloading images, everything is working fine. Right now the only issue I am facing is progress dialog is stuck and freeze. following is my code, can anyone help me with that....
-1
votes
1answer
30 views

I'm having trouble adding progress dialog within button

Here is the problem, The below code doesn't open the dialog but if I remove the progressDialog.dissmiss() line, it opens but does not close, what did I get wrong? public void onClick(View v) { ...
0
votes
1answer
20 views

How do I dismiss a progress dialog with async task and avoid “is your activity running error?”

I'm having trouble avoiding a "Unable to add window — token android.os.BinderProxy is not valid; is your activity running?" exception when using a progress dialog box with an async task. final ...
0
votes
0answers
44 views

Custom progress bar is not working and app is crashing

When I'm trying to use a custom progress bar it is not showing the progress bar, and after some time the application is crashing. Code: public class RegistrationScreen extends AppCompatActivity ...
2
votes
0answers
81 views

Show progress circle in recyclerview like whatsapp

I am creating chat app its working well but i need to show upload progress like whatsapp. I am using firebase and also getting uploading status from firebase storage storageReference.putFile(Uri....
0
votes
1answer
29 views

NullPointerException on Progress Dialog while exporting to CSV - Android

I get null pointer exception on context no matter how I modify pre-execute class or the declaration of ProgressBar.I have tried several solutions that others implemented to fix the error, but nothing ...
0
votes
1answer
161 views

progress dialog is not showing the spinner in android version 8.0 but it still works

In my app, the progress dialog should show out when the button is clicked. Now the progress dialog is shown but without spinner or the loading bar(sorry I'm not sure what it's call) This is how my ...
1
vote
2answers
83 views

How can you change a Progress Dialog RING color for each rotation programmatically? (support should be latest API)

EDIT: Stll NO SOLUTION! At least post code with Progress Bar, that is also getting NullPointer How can you change a Progress Dialog color for each rotation programmatically? Code: if (...
0
votes
1answer
45 views

Display Progress C

so i read data like this if (contentLengthType == CONTENTLEN_EXIST) { printf("Content-Length = %lu\n", contentLength); } { int fd = open(dst, O_WRONLY | O_CREAT, 0777); int ...
-2
votes
2answers
74 views

Progress Dialog not showing in Async task

My progress dialog is not showing in async task,if i comment out the progressDialog.dismiss(); then the progress dialog is showing.I am retrieving the response from server and in background i am ...
0
votes
0answers
47 views

show progress dialog in AsyncTask class in retrofit

I'm developing and android app. I have to call API and get the result.So i use retrofit library and call the API. All code and working and get result fine. i want to get data while showing and update ...
2
votes
2answers
86 views

Can I use deprecated classes?

Will using deprecated classes cause severe problems to the program? What is the meaning of deprecated? Can I still work with deprecated classes? An example for it is the ProgressDialog view in ...
0
votes
1answer
39 views

TcpClientConnect() blocks UI from updating ProgressDialog

I want to create a program in which the user connects to a specific PC with a TcpClient socket and meanwhile show the user a loading spinner. I've set the SendTimeout of the socket to 10 secs- this ...
0
votes
2answers
30 views

Android ProgressDialog not dismissing from Thread

i'm developing an android App. The user registration process calls a service that sends an email so it takes several seconds, like 5 or 6 seconds,that's why I execute that task within a thread. The ...
0
votes
2answers
197 views

Espresso Testing call view button click waiting after call api response data progressDialog dimission

I develop automation testing using via espresso library. Sometime I ever got error message "Could not launch intent Intent" when running test is make long time I call view btn click after api ...
0
votes
4answers
85 views

How to change a progress dialog layout when the progress completed?

I have a progress dialog in my AsyncTask extended class. I have set the layout to the progress dialog using setcontentview(). I want to change the design of the progress dialog and show for 2 seconds ...
0
votes
1answer
61 views

Progress Dialog not showing on .Show() in Async method

I have async method ExecuteWithRetryAsync which implements some retry logic and must show ProgressDialog as soon as it is called. Currently the first call to Show() never really works. The progress ...
2
votes
2answers
113 views

How to get returned result from function in Task.Run(Xamarin.Android)?

I have the following views in my activity: private Button btn; private TextView txtView; I have the following button click event: private async void Btn_Click(object sender, System.EventArgs e) { ...
0
votes
3answers
62 views

Progress Dialog not dismissing

In below code showing progress dialog with 5 second delay. After 5 second want to dismiss the dialog, but not happening in the below. Can any one please help me where I made the mistake? new ...
-2
votes
2answers
72 views

Problems to import ProgressDialog class

I want to use ProgressDialog in a project, but I can not import that class into my MainActivity.java. When I try to write import android.app.ProgressDialog; the line of code gets hidden. This ...
-1
votes
1answer
38 views

Add button to progressDialog already showed

I would like to add this negative button, for example, but 3 seconds after. It is possible or I have to dismiss this progressDialog and open a new dialog? I tried that: final ProgressDialog ...
0
votes
0answers
45 views

Progress dialog UI Freezes/Slow when image set to volley json

I want to show progress bar using Volley/Picasso. My image size is large when getting from JSON API, but it's stuck or freeze first time or Progress dialog UI Freezes/Slows when image is set to ...
-2
votes
1answer
63 views

How to Write dry code for progress dialog

I'm creating an application that sends many requests to server from several Activity a fragment. i want to show ProgressDialog in request send methods, in this case, I want to write one time a code to ...
0
votes
2answers
216 views

use and show progress dialog while send data

I'm new on android and I want to show a progress bar whenever user do tap on sndbtn and while sending data to my API and when the app finish to sending the data the progress bar have to dismiss. I'm ...
-1
votes
2answers
45 views

How to set progress dialog to max value in between

I have a progress dialog that takes 3 minutes to fill the progress. If i get response from server earlier I want to fill progress to 100%, and then disables it. This is my code, but it does not fill ...
0
votes
0answers
20 views

Change template progressDialog in AsyncTask for android

I have a ProgressDialog running in a AsyncTask. I want to change the template progressDialog in AsyncTask for android. Can somebody help me please, is this possible? Thank you in advance. class ...
0
votes
0answers
128 views

ProgressDialog in Android RxJava

public void openActivityAfterLogin() { Disposable disposable = RxFirebaseAuth.signInWithEmailAndPassword(FirebaseAuth.getInstance(), email.getText().toString(), passwd.getText().toString()) ...
-1
votes
2answers
213 views

How to add an Image to a ProgressDialog?

I tried many ways to add an image to a Progress Dialog Please Help me.
2
votes
0answers
1k views

how add loading dialog in kotlin

I am trying to add Loading dialog when my app load data json url because shows blank screen until data comes when lunching app Here is the code inner class Dep : AsyncTask<String, String, ...
0
votes
0answers
46 views

How to make Fragment modal like ProgressDialog

We have a simple fragment with progress bar <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > &...
1
vote
2answers
247 views

Custom dialog ProgressBar with spinner and percent text

How can i design a custom dialog with progress spinner along with percentage? I have tried below but only get spinner along with title: progress=new ProgressDialog(this); progress.setTitle("...