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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:11:59+00:00 2026-05-27T19:11:59+00:00

I have a method in my application which retrieves the last saved image in

  • 0

I have a method in my application which retrieves the last saved image in my DCIM/Camera folder and copies it to another location on the SD card. I’ve just tested it on another phone and found that it defaults saving to DCIM/100MEDIA. How am I able to get this path?

I ended up writing some code which looped through all the folders in the DCIM folder and retrieved the path of the lastModified() folder.

  • 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-27T19:11:59+00:00Added an answer on May 27, 2026 at 7:11 pm

    Looks like it is manufacturer dependent. In addition to using methods described in book, it seems also allowing the user to choose/override the default you “discover” would be an important option.

    From Pro Android 3: p 579

    Unfortunately, there is not a method call to tell you which directory might be used underneath the DCIM directory for Camera
    pictures.
    There are a couple of methods though to tell you where the
    top of the SD card is. The first is
    Environment.getExternalStorageDirectory() and it returns a File object
    for the top-level directory for the SD card.

    See the following Google books link for full page text:
    http://books.google.com/books?id=RuN0jb4YASwC&pg=PA579&lpg=PA579

    • other references:

    Do all Android phones with a built-in camera use a folder called "DCIM" to store captured images?

    http://androidforums.com/android-lounge/5930-definitive-androids-folder-structure.html#post239353

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

Sidebar

Related Questions

I have a console application which is parsing HTML documents via the WebRequest method
I have my main application delegate which contains a method that returns an object.
I have an application which retrieves a lot of numerical data from a server
I have an Android application which retrieves information from the web using an AsyncTask
I have an application, which sets an alarm using AlarmManager, which starts another Activity
In my application I have methods which returns a control (checkbox, radiobutton, textbox) but
A few questions have come up recently involving the Application.Evaluate method callable from Excel
I am looking for a method of storing Application Messages, such as You have
I'm trying to test a method I have in my application, but I don't
I have an application (ASP.NET MVC) that uses a Next New method to get

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.