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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:23:22+00:00 2026-06-17T22:23:22+00:00

i’m developing app which at some point display images. I’ve noticed that in resources

  • 0

i’m developing app which at some point display images. I’ve noticed that in resources there are few versions of application icon in various resolutions. Since i store my images in database i wonder if it would be better for me to keep few versions of my image in diffrent resolutions.Reasons for it are obvious, app speed, memory use, the only con is bigger app size due to more data. Fetching images is not a problem, i just have no clue when to know which of version of image get and how to determine it? Or maybe just keep some larger image size and let the system handle resizing cause it isn’t so much stress on device?

Other thing is that I keep my images in database, i wonder if it’s more efficient diskspace/cpu/memory use/speed to keep these images in db, or keep their names there only, keeping images as resources in dpi folders corresponding to their size?

  • 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-17T22:23:23+00:00Added an answer on June 17, 2026 at 10:23 pm

    If you don’t have too many images, I would highly suggest using the automated resource loading that you get with the resource folders.
    As for what constitutes “too many images”- it’s really up to you. I personally think that if you can fit all the images within the APK size limit (50MB), then you should.

    You also asked about which size images should target which screen sizes. For this, you should peruse the Support Multiple Screen Sizes documentation. Specifically, the range of screen sizes supported section will provide guidance on the pixel densities you can target. Keep in mind that you aren’t target screen sizes- you are targeting screen densities.

    As you pointed out, you can also just upload the highest resolution image you have, and let the system take care of it. This is possible, but will result in your app loading a little more slowly than it needs to on lower-density screens.

    I can’t comment on your database method, as I don’y have any specifics on your implementation, but if it is a remote database that you have to fetch images from over the internet, then I would definitely recommend putting your images in the resource files. Going over the internet for these resources is slow and wastes the user’s valuable bandwidth.

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

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I am writing an app for my school newspaper, which is run completely online
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I am using JSon response to parse title,date content and thumbnail images and place
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small

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.