It should be a case by case approach, make a switch case structure to define paths, if this is the only reliable way to find it. Also, try to use the APIs functions to find the "first" SDCard path whenever possible.
Claudio Roberto França Pereira (a.k.a. Spidey) hardMOB - HTForum - @spideybr Engenharia de Computação - UFES 2006/1 2010/9/10 Kostya Vasilyev <kmans...@gmail.com> > That's the Samsung Galaxy S (GT-I9000) I mentioned earlier in this thread. > There are also several carrier-branded versions. > > -- > Kostya Vasilyev -- http://kmansoft.wordpress.com > > 11.09.2010 0:53 пользователь "Indicator Veritatis" <mej1...@yahoo.com> > написал: > > > On some new Samsung phone, it does. Unfortunately, this phone use the > path '/sdcard/' not to refer to any sdcard, but to the parent > directory of both of them. > > I forget the model number, but you should be able to Google it. > > BTW: a little ahead of this post, I saw another one reminding us that > it is a bad idea to use hard-coded path names. This is true. But I see > no way of using the Anroid APIs to deal with two SD cards; apparently > neither did Samsung. > > > On Sep 9, 11:23 pm, Nikkea Dong <my.nik...@gmail.com> wrote: > > Hey Guys, > > > > Is there anyone te... > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en