android - Using getExternalFilesDir with multi SDCards (Galaxy S3) -


with android 4.4.2 have have change environment.getexternalstoragedirectory() use context.getexternalfilesdir(null)

this works fine on 4.4.2 emulator , galaxy s3 on galaxy s3 using internal memory , not sdcard

i have used (how can external sd card path android 4.0+?) answer 18 find sdcard

is there anywhere round issue on galaxy s3 combining getexternalfilesdir() , galaxy s3

thanks

this works fine on 4.4.2 emulator , galaxy s3 on galaxy s3 using internal memory , not sdcard

it using external storage on both emulator , galaxy s3. completed blog post series explaining internal storage, external storage, , removable storage mean in android.

is there anywhere round issue on galaxy s3 combining getexternalfilesdir() , galaxy s3

you welcome use getexternalfilesdirs() (note plural) on android 4.4+. if array has more 1 entry, second , subsequent entries on removable media (sd card, usb storage, etc.).


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -