I get all the images from the SD card, but now I want to show only the pictures taken by the camera (in the DCIM folder).
Can this be done?
Try:
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath()
Try the following:
Environment.DIRECTORY_DCIM;
Official document
Here is the link for more information: Efficient and wise use of Androids external storage
Of course you can try:
new File(Environment.getExternalStorageDirectory(), "DCIM")
You can also use something like Environment.DIRECTORY_DCIM
Environment.DIRECTORY_DCIM
Source: https://habr.com/ru/post/955006/More articles:C # Pitch shift of wave files - c #How to get iOS 6 UITableView Grouped Style in iOS 7 - ios7Upgrade your visual studio studio command-line solution with visual studio express - visual-studioMeteor account email verification does not work in two ways - meteorHTML / CSS / Javascript link management (BibTeX style) - javascriptHow to get the name of a generic method, including generic type names - genericsGetting general arguments from a class on the stack - genericsUnderstanding NetworkStream.EndRead () - Example from MSDN - c #Is it normal to change a value outside the map? - javaHow to distinguish MethodBase in generics - equalityAll Articles