I am creating an application that saves a file inside /mnt/sdcard/.myapp
Does the / mnt / sdcard folder exist on the Nexus 5 and G3, does it exist on all devices?
Please usegetExternalFilesDir() for a location unique to your location. Do not clutter the user's external root directory.
getExternalFilesDir()
Not necessary. If you must work with the root of the external storage, useEnvironment.getExternalStorageDirectory() to get it.
Environment.getExternalStorageDirectory()
Source: https://habr.com/ru/post/1568990/More articles:Troubleshooting running bootstrap.bat through the command line (log included here) - boostquestions when responding to events - javascriptMoving Volatile Property - rustWhat is the meaning of stripslashes PHP function? - phpI do not have a separate folder named v21 - androidMIssing icon file in xcodeproj in Yosemite - iosHow can mmap allocate more than 20 GB? - c ++What is the maximum file association size on a 64-bit machine - linuxC ++: cin while cout - c ++How to remove border crash from p: dataTable? - cssAll Articles