As of API level 8, it seems Android has redefined what "external" storage is. Reading through http://developer.android.com/reference/android/os/Environment.html, attached to the documentation for getExternalStorageDirectory
I see the comment: "don't be confused by the word 'external' here. This directory can better be thought as media/shared storage... In devices with multiple 'external' storage directories... , this directory represents the 'primary' external storage that the user will interact with."
My app writes files to the path obtained by getExternalStorageDirectory
, and I've had users ask for an option to write to their removable SD card instead. I had always assumed that getExternalStorageDirectory
returned the path to the removable SD card, but this is no longer true. How do I access the path to this SD card?