Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2017feb21 OS: Android Q. How can I find the second sdcard? A. One of these should workString path1 = System.getenv("SECONDARY_STORAGE"); String path2 = System.getenv("EXTERNAL_SDCARD_STORAGE");By the way, how to get the *first* sdcard:Environment.getExternalStorageDir()Alternate approaches:Looked at everything call *card* below /mntLook for /sdcard and /extscard
Add a commentSign in to add a comment