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

  • SEARCH
  • Home
  • 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 8155269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:37:26+00:00 2026-06-06T16:37:26+00:00

Requirement : In an app, During the first launch it is required to download

  • 0

Requirement : In an app, During the first launch it is required to download all the images and data from the remote server and store them into sdcard and local sqlite database respectively. And, in the later times, the app works locally without network connection.

So, the HTTP response comes in JSON format and it needs to be parsed and stored into the database and the after parsing JSON I will get the image paths which needs to be downloaded and stored into the sdcard.

Currently, I am thinking to implement this using an AsyncTask for respective API calls. Please let me know if there any other efficient alternatives OR if there are any sample source codes doing similar task. TIA…

  • 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-06T16:37:28+00:00Added an answer on June 6, 2026 at 4:37 pm

    If it really needs to be separate files you can use the Download Manager.

    But I would recommend packing and compressing everything into one archive file and download that.

    Maybe you can use an Expansion File?

    If you decide to use an AsyncTask be aware that depending on your targetSdkVersion (>11) and Android Version (>4.0) it might not run multithreaded without setting a thread pool executor.

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

Sidebar

Related Questions

I have a requirement that my app, can receive events (e.g. messages) from server
Is armv7 an absolute requirement for submission to the app store currently? The application
Requirement of my app is to have UINavigationController at the bottom with play, rewind
The app I'm currently building has the requirement that the app has to prevent
I have a very different requirement in my app.Using the app i need to
In my app there is requirement that..I have 6 buttons in a nib, when
My requirement is to play local (bundled with the app) audio and video files
I have a web database app that runs in IE7+ (customer requirement) It is
My current requirement is: I have to package my grails app and use teamcity
As per client requirement i want to send crash Report when App get crash.

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.