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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:50:05+00:00 2026-05-25T14:50:05+00:00

In my application, i have some url’s using these url’s i am downloading the

  • 0

In my application, i have some url’s using these url’s i am downloading the images from web and use these images in my app. Where to store these images? because my app have lot of images are there.Suggest the best way i.e,that way have no chance to get the “out of memory exception”.please can anybody help me.

I am using the following way is it good or bad. can anybody suggest me.

  1. Using the url’s i am downloading the images from the web and at the download time i am creating the directory for these images in the sd card. Save these images with url names in the sd card.if the image name is exist in the directory then that image will be fetching from the sd card. otherwise it will be downloaded from the web. is it good?

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-05-25T14:50:05+00:00Added an answer on May 25, 2026 at 2:50 pm

    As per Saving cache files from the Android developer, use Context.getExternalCacheDir() (API level 8) or Environment.getExternalStorageDirectory() + /Android/data/<package_name>/cache/ (API level 7 or lower) as the location to store cache files.

    If you have different caches, add a subdirectory for each.

    Both of the above approaches are in your app’s “private” data space and will be removed along with your app — that’s a good thing, you don’t want to use space on a device when your app is gone.

    Also, don’t use the URL direclty as file name, create a digest/hash of it and use that, like the iosched app does. This spares you from escaping any special characters in the URL yourself.

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

Sidebar

Related Questions

I decided to use knockout.js for my web application and have some concerns regarding
In my WPF application I have some drawing functionality. I have solved this using
I have written a application that parses the html code of some web pages.
in my web application i want to transmit some values through the url between
I have some javascript that requires a specific URL to call an ASP.NET web
I have some web application that uses jQuery to send AJAX requests to server.
I am creating a JSF application. I have some items (e.g. products) from database
I have some resource files that are in the classpath of my web application
I have developed an iPhone application which will have some files (images, audio &
i have inserted some web URL's in a text file. Like: www.google.com www.facebook.com www.twitter.com

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.