How about reading /proc/self/mounts or /proc/partitions ...and of course falling back to default if none of that works.
You could also bury a user modifiable path string somewhere in a config menu Pent wrote: > > Looks close for the Galaxy S, but on my retail Euro version Build.MODEL > > is "GT-I9000". > > Sugar. > > > Build.PRODUCT and Build.DEVICE have the same value, as well. > > Double sugar. > > > Also, /sdcard/sd exists even when the external memory card is not > > installed, in that case, writing to /sdcard/sd places files on the > > internal memory card > > 1kg bag of sugar. > > > (the usual rule with a mount point that has not > > been mounted). > > The usual rule where ? Default linux it should be an empty directory. > > So any solution to this is going to be extremely messy in other words. > > In any case thanks for course for the info. > > Pent -- 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

