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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:56:36+00:00 2026-06-11T14:56:36+00:00

My app stores images on the SD card. When the SD card is removed,

  • 0

My app stores images on the SD card. When the SD card is removed, my app will be forced close. I want to change this, instead of forcing close, I want to put those images on the internal storage when the SD card is removed. Any suggestions?

Edit 1:
There is no exception in the log. I can see my app is killed when unmount media, but I don’t know why.

09-19 12:14:33.128: W/ActivityManager(27117): Killing processes unmount media at adjustment 7
09-19 12:14:33.128: W/ActivityManager(27117): Killing ProcessRecord{408f6700 17535:com.google.android.apps.maps/10074} (adj 11): unmount media
09-19 12:14:33.128: W/ActivityManager(27117): Killing ProcessRecord{40a99fd8 28691:cn.wps.livespace/10049} (adj 9): unmount media
  • 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-11T14:56:37+00:00Added an answer on June 11, 2026 at 2:56 pm

    You can check if the sd card has already been unmounted when your app starts. Please use the code snippet here and read more info on the android developer site.
    Using the External Storage

    If you want to display images from the internal storage, you should pack these images into you .apk file. Just put them into the /asset folder, and use the AssetManager to read them or even copy them into the internal storage for future usage.

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

Sidebar

Related Questions

my app stores players's data and I want to populate a UITableView with it,
I inherited a Rails 2.2.2 app that stores user-uploaded images on Amazon S3. The
I have an app on the mac and iPad that stores many images in
I'm deploying an MVC3 app that stores images in a database. The requirement is
Is it possible to request that an iOS app stores map images of a
I have this app of mine that contains a section that will allow the
I have an app which downloads images from a server, stores them on the
What are best practices for an app that stores user data (files,images,etc.) on AmazonS3
I have a simple rails app that stores images created by users in an
In my app I'm using an xml file to store some data, and images

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.