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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:17:35+00:00 2026-05-26T19:17:35+00:00

I’m wondering about one thing : I want to ask the user while first

  • 0

I’m wondering about one thing : I want to ask the user while first install my application where to save the data which will he receive after the first sync – on sd card or phone memory and let him to move the files if he first decide to store them in phone memory,but after that he decide to move them to sd card. My question is, which is the best way to remember his choice and build my logic depending on that. I was thinking about using SharedPreferences to save users choice :

   editor.putBoolean("isSdCard",true);
   editor.putBoolean("isPhoneMemory", false);

and after that use this booleans everywhere where I need to get the files, to get first the storage and then get the files.

Any other suggestions which will be a better solution in my case?

  • 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-26T19:17:35+00:00Added an answer on May 26, 2026 at 7:17 pm

    I don’t know much of your App but if the following things apply to your app I may have another solution.

    • Your App can be move to the SD-Card entirely.
    • The data that is downloaded temporary, that means if the user wants to delete it it won’t harm the app and the user can reload the data later.
    • It is not important that the user has access to the data via an external file browser

    If this is the case get rid of the option. Options are always distracting the user from the main use of the app. Just set your install location to auto and let the user decide where to put your app. Now save the data to the cacheDir of your app.

    The pros of this approach are:

    • The cache will be located on the SD-Card if the app is on the SD-Card and in internal memory if the app is in internal memory.
    • Furthermore the data is cleanly removed if the user deletes the App. If data is saved on the SD-Card there is no way to delete this data once the app gets deleted by the user.
    • The user sees how much memory your app is using in the applications setting panel.
    • If the user needs memory she can delete all files that are declared as not important by you through the applications setting panel without accidentally deleting important files like settings
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to construct a data frame in an Rcpp function, but when I
I'm making a simple page using Google Maps API 3. My first. One marker
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.