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 8338637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:39:19+00:00 2026-06-09T04:39:19+00:00

I haven’t started coding yet. I’m trying to figure out which libraries that is

  • 0

I haven’t started coding yet. I’m trying to figure out which libraries that is out there and what the API can offer first.

I need to download a lot of resources before starting my app. Basically I’m going to have a “SplashSreen” and a progressbar that shows which file being downloaded and the progressbar for the entire progress of downloading the x-number of resources.

After looking through some discussions and tutorials on the subject, it seems to me that AsyncTask will do the job. But it’s only possible to show the current progress for the current “object” being downloaded, and not for the entire queue.

Could anyone help me out here, give me some tutorials or something to dig into?

TBH; I’m not even sure if AsyncTask is what I’m looking for in this scenario. Basically I need something that can download resources, put in a queue, and let me know the progress of the entire queue, and which resource (name of it) being download at a certain time.

Thanks!

  • 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-06-09T04:39:21+00:00Added an answer on June 9, 2026 at 4:39 am

    Of course an AsyncTask can do the job. Just put all your files in a asyncTask which display the progress.

    class InitTask extends AsyncTask<Void, Integer, Boolean> {
        private List<String> mNbFiles;
    
        public InitTask(List<String> filesURL)
        {
            super();
            mFilesURL = filesURL;
        }
    
        @Override
        protected void onPreExecute() {
            //show and init your progress bar here...
            super.onPreExecute();
        }
    
        @Override
        protected Boolean doInBackground(Void... params) {
    
            for(int i = 0 ; i < mNbFiles.size() ; ++i){
                //download one file ...
                publishProgress(i);
            }
        }
    }
    

    I hope this will help you. Comment if you have any question.

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

Sidebar

Related Questions

Haven't seen anything, but I have seen that you can create albums in the
I haven't yet worked out a specific case. But I am about to embark
Haven't been able to find a definite answer. I know that one button can
I haven't used the STL much before, but I started to on this huffman
I haven't used ARC yet other than to deal with it when it forces
I haven't actually built an app yet, but I'm confused by documentation on bind-attr.
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I am trying to understand how to use SyndicationItem to display feed which is
I haven't seen this question anywhere else, I hope someone can help. I have
I haven't worked with SQL Reporting much, however I have been trying to get

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.