First of all, hi!
I searched for that expression, and although I found some code snipets, I didn't see this particular problem!
I'm currently developing an application on my Desire, and it uses the "File X = Environment.getExternalStorageDirectory();" to get the SD card directory (that I need to use to save some BIG log files).
But in the end this application should be able to run in a multitude of devices, like the Samsung Galaxy S (that has internal memory, mass storage and the possibility of using an SD card).
My question is this: Does that command return the Mass storage (the phone's internal one) or the SD card path?
If it does access the SD card, how do I get the path for the Mass storage? And how do I differentiate between the two (so that it choses the right place for my log files depending on what's available on different handsets?
I didn't know if I should post here or on the database forum, but I'm logging directly to a text file and not using sqlite, so...
Thanks in advance!