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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:24:50+00:00 2026-06-14T20:24:50+00:00

I am developing an Android application, and I am making many RESTful requests to

  • 0

I am developing an Android application, and I am making many RESTful requests to a server for information. Should I always make these requests, or store some of it in a SQLite database on the device? If I should store, how do I determine how much (if not all) of the data should be stored?

The app is something of an educational social network, so there are objects such as:

  • Users
  • Schools
  • Notes
  • Courses
    • Comments
    • Question

Currently the plan is to store the information in the database and check for updates frequently, or should I always request the data from the server? Additionally, should I pull nested data in a single request or split it up into multiple RESTful requests?

  • 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-14T20:24:51+00:00Added an answer on June 14, 2026 at 8:24 pm

    The best solution would be to store all the data you have locally, and just sometimes fire up AsyncTask or AsyncLoader to download the updates. This way your users will be able to use your application when offline and don’t need to wait for download to finish when your application starts.

    You should always have some data to show. It might be useful to include a basic data set along with your application, so the database gets populated on the first run even when there’s no network.

    regarding single vs multiple requests:
    

    single request is generally faster than several smaller requests, however, it has higher probability of failing on mobile networks. if your data requests don’t take more than 10sec on GSM network, you should be fine, otherwise you might consider splitting into smaller requests.

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

Sidebar

Related Questions

I am developing an Android application which would make intense use of Bluetooth RFCOMM
Hi am developing android application. I have some small doubt of how to change
I have been developing Android application and I can't make 1 thing - my
I am developing android application for SIP. I am successful in making SIP Stack
I am developing an android application in which I have to make a layout.I
I'm developing an Android application with some native code (used to render with OpenGL
I'm busy developing an android application by making use of Xamarin and Visual Studio.
I'm developing android application with phonegap . Currently I'm facing one problem with inputbox
I'm developing android application for CAR usage and I need that in phone or
I am developing android application in which i have to open option menu from

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.