Some Android 2.x tablets such as the HTC Flyer and Samsung Galaxy Tab support both internal tablet storage and an external SD card. For example on my Flyer, /sdcard and /sdcard2 are separate, with the former representing the tablet's "internal storage."
If I use Environment.getExternalStorageDirectory(), there doesn't seem to be any set rule on which of those storage locations will be returned. In using getExternalStorageDirectory(), my concern is that I'll only find media stored on one of the two storage locations.
One solution is to just hard-code scanning /sdcard* into the application, but this makes an assumption that all devices will use that as a naming scheme, and I don't consider that a safe assumption.
Is there a documented way to scan and use multiple sd card/storage locations on Android 2.x?
My goal is actually to find all audiobooks on the tablet, so I'd like to find and use all /sdcard*/Audiobooks in some documented way.