Hi all, Greetings
I have Samsung Galaxy J7 loaded with Marshmallow (Android 6). I am unable to read the contents of my SD card. Basically, I am trying to read csv files stored in my SD card . Could you please help ? Here is a brief description of my problem: 1. I am trying to read files from my external SD Card. I have obtained the required permissions using request permission using checking and asking for Manifest.Permission.READ_EXTERNAL_STORAGE Even after that, android just gives getExternalStorageDir() as /storage/emulated/0 and because of this I am unable to navigate to my my SD card to list contents. 2. These are snippets from Log files in Android Monitor that may be of help. 11-20 17:57:26.413 14330-14330/? D/HAT -: Permission already granted 11-20 17:57:26.413 14330-14330/? D/HAT - getExternalStorageDirectory(): /storage/emulated/0 11-20 17:57:26.413 14330-14330/? E/System: Ignoring attempt to set property "user.dir" to value "//SD Card". 11-20 17:57:26.413 14330-14330/? E/System: Ignoring attempt to set property "user.dir" to value "/". 3. How can I set the path to my SD card after getting required permissions for reading external storage in my app ? Please help Thanks, Laxmi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/22459bda-03e0-458d-9ca3-d3699845c090%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

