Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3497670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:23:56+00:00 2026-05-18T12:23:56+00:00

when i press my login button there is a webservice call , at the

  • 0

when i press my login button there is a webservice call , at the time of web service call i have to display a progress dialog, and after receiving webservice return an intent to next page… but it always diplays a blank page when intent is called also progress dialog is not showing

    if(Utility.isNetworkAvailable(currActivity)){                 
//  Utility.showProgressDialog(currActivity);   
                            new Thread() {
                                @Override
                                public void run() {                             
                                    currActivity.runOnUiThread(new Runnable() {
                                        @Override
                                        public void run() { 
                                            Intent intent = new Intent(Login.this, Listviewer.class);
                                            startActivity(intent);
                                            tempSplashTread = new Thread() { // Thread for showing wait cursor
                                                @Override
                                                public void run() {
                                                    currActivity.runOnUiThread(new Runnable() {
                                                        @Override
                                                        public void run() { 
                                                            myProgressDialog = new ProgressDialog(InfraSignPdfList.this);       
                                                            myProgressDialog.setMessage("Loading...                  ");
                                                            myProgressDialog.show();
                                                        }
                                                    });
                                                }
                                            };
                                            tempSplashTread.start();
                                            finish();
                                        }
                                    });
                                }
                            }.start();
                        }else {
                            Utility.noNetworkDialog(currActivity);                          
                        }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:23:56+00:00Added an answer on May 18, 2026 at 12:23 pm

    It’s a bad idea to put a progress dialog between launching apps. You need to implement the progress dialog in the one that does the download and then display the next Activity after the downloaded data has been passed to the new activity.

    Follow below steps:

    1.After Login Button start server call to get data from server till then display progressDialog on current activity.

    2.After the data has been downloaded start the next Activity by passing the necessary data to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a StartComObjects function called when the user presses the Login button and
If I press the submit` button error messages are thrown at server log login.xhtml
when I press the Maximize button on my WPF app, all the controls therein
I have an ASP.NET website and when I press F5 it automatically attaches to
i have view like 'home/details/5', it can be access by anonymous user. but there
I have started using django very recently . I am building a service with
I have PageA with some controls (txtFooBar) on it, and a button with PostBackUrl
Using this code, I can send emails to people. However, every time I press
I have an app with a login page that has three fields for three
hi all i want to know that if in my login.aspx page there is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.