Hi

 I have the same question about this issue. Have you find a way to
resolve it? If you have, please send a message to me.

Thank you a lot.

On Sep 30, 10:41 pm, cosminr <[email protected]> wrote:
> Hello all,
>
> I ran into a seemingly simple issue to which I cannot find an answer.
> The application I am working on needs to read/write data from/to theSDcard. 
> All the resourcess are located in a folder rigth on the root
> of thesdcard. To obtain the absolute path to my resources directory,
> I wrote something like this:
>
> static final String RES_PATH =
> Environment.getExternalStorageDirectory() + File.separator +
> "<res_dir_name>";
>
> which results into something like:
>
> "/sdcard/<res_dir_name>"
>
> This works just fine for most devices. However, there is the Samsung
> Galaxy S which has 2SDcards, one internal, and one external. Using
> the code above, I get the path to the internalSDcard. The path to
> the external card is "/sdcard/sd/" (where I belive "sd" is just the
> mount point).
>
> Is there any API that I don't find which returns a list of paths to
> multipleSDcards (if available). Or is there any other way to scan
> both cards for the existence of my resources folder without hardcoding
> it myself. Note that changing the location of the resources dir is not
> an option.
>
> Thank you all advance ! Cheers!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to