View Single Post
Old 6th July 2012, 11:08   #51
Junior Member
Join Date: Jul 2012
Posts: 1
A possible solution to fix this issue on all Samsung Galaxy S series phones (or others who have two flash devices (internal sd and external sd) ) :

Get the external drive using the existing method which I believe is

This should return /mnt/sdcard
Check if there exists a folder called external_sd in the returned path (/mnt/sdcard/external_sd
If such a folder exists, it means the phone mounts an external memory at /sdcard/external_sd
This folder can be used to store music (Music) folder

If such folder does not exist, then /sdcard can be used as is existing.

Best solution is to give user a choice for a default music folder for winamp and users can themselves choose /mnt/sdcard/external_sd. If user hasn't chosen a location, then winamp can continue using default.

Some info about folder structure for developers if needed (I have samsung galaxy s phone)
~ # cd /
~ # ls -l | grep sd
lrwxrwxrwx 1 root root 23 Jul 6 10:33 sd -> /mnt/sdcard/external_sd
lrwxrwxrwx 1 root root 11 Jul 6 10:33 sdcard -> /mnt/sdcard
~ # ls /mnt/sdcard/external_sd | grep -i music
~ #

This link would help too

Please let me know if any more information about my device is needed.
fornix is offline   Reply With Quote