See https://developer.android.com/training/basics/data-storage/files.html and https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)
On Saturday, July 2, 2016 at 1:09:35 AM UTC+10, Susanne wrote: > > Hello, > > > > Thanks a lot for your reply, but all permissions are already set to > read/write sd-card. > > > > But the permissions are for the built-in sd card (via System.*getenv*( > *"EXTERNAL_STORAGE"*)) only. > > I still cannot access the removeable sd-card (in the slot) from within my > application written in Java. > > > > Greetings from Austria, > > Susanne > > > > DI. Susanne KALLIANY - [email protected] <javascript:> > > TeFiS - www.tefis.at > Technische und forstliche Informationssysteme (Forstliche Software, GIS) > > +43 (0)664 1424269 > > A-1040 Wien, Schaumburgergasse 11/13 > > > > > > > *Von:* Paolo Turatti [mailto:[email protected] <javascript:>] > *Gesendet:* Freitag, 01. Juli 2016 15:42 > *An:* Android Developers > *Cc:* Susanne Kalliany; [email protected] <javascript:> > *Betreff:* Re: Access Problem External SD-Card Android 6.01 > > > > Hello, did you check your app permissions? > > In Android 6 many things have changed on permissions, go under android > settings, applications, select you app, select rights, give the > applications the right to read and write external storage, then on the top > right corner, all permissions. > > Open you app again and check if it is working. > > Il giorno lunedì 20 giugno 2016 19:38:15 UTC+2, Susanne ha scritto: > > I am very deperate: After my Samsung Galaxy Note 4 updated to Android > 6.0.1., my application (written in Java - Android Studio and running since > Android 3.3) no longer can access data on the external sd-card. > > > > I manage to address internal sd-card via "System.*getenv*( > *"EXTERNAL_STORAGE"*)" but alas on the web so far I found no path working > with the external sd-card. > > > > Of course I have no problem to read/write external sd-card via > file-explorer. > > > > I would be very grateful for any help, > > thanks a lot in advance > > Susanne > > > > > -- 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/51717961-0866-4e5a-9a96-e942b13c1e6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

