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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:11:09+00:00 2026-05-25T16:11:09+00:00

As we all know internal storage is not the right place to store big

  • 0

As we all know internal storage is not the right place to store big data in Android for many reasons that’s why we should rely on SD card. My app needs to store a lot of small videos and images in a cache folder, for this reason im using the standard “/sdcard/Android/cache” directory.

Problem is that internal storage is not that easy to read SDcard instead is easily readable and mountable elsewhere.

My idea is to override Input and Output File stream classes to introduce a xor operator or some other easy “scrambling” code. Would this be a good idea? Is there any better solution which does not add a lot of overhead?

  • 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-25T16:11:10+00:00Added an answer on May 25, 2026 at 4:11 pm

    If you have a lot of images you must have a DB backend, you just need to create a, don’t know, 32 chars key for every image and then when you write the files in cache split that key in 4/6/8 and write 4/6/8 files instead of one.

    In this way it won’t be that easy to read the data because you must know which are the chunks and the chunks order is on the DB which is stored on intenrnal dir.

    No overhead at all.

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

Sidebar

Related Questions

We all know that there are many different selector combinations one can use to
I know all internal jQuery functions are written in JavaScript, so it should technically
We all know that CSS sprite images are great to reduce the amount of
We all know the effects that lots of thrown exceptions can have over the
We all know that a hash table has O(1) time for both inserts and
We all know it - this is the reading that lists the changes brought
you all know: right click -> zoom in or out in flash file, well,
We all know that most applications out there assume class names to follow the
I know that a consequence of using the prototype is that all added properties
I know all kinds of ostreams holds their own internal buffers. I have to

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.