Page 1 of 1

How can I access the SD card on Mobile Devices

Posted: Thu May 29, 2014 8:39 pm
by trags3
I saw the statement somewhere that allows one to read/write to the SD card.
I can't seem to find it now.
Help Please!

Tom

Re: How can I access the SD card on Mobile Devices

Posted: Fri May 30, 2014 1:23 am
by trags3
I just figured out that Google doesn't allow it. :cry:

Re: How can I access the SD card on Mobile Devices

Posted: Fri May 30, 2014 2:09 am
by Simon
Hi Tom,
Not sure that is true, a long time ago I made an app that played a video from the sdcard. I think that means write as well.
Found it, yes here is the start of the path "mnt/sdcard/" the subfolders are available to you.

Simon
Edit: In thinking about it this may only apply to external sdcards (the kind you buy separately and install). I've noticed on my device without external memory still calls the internal memory sdcard.

Re: How can I access the SD card on Mobile Devices

Posted: Fri May 30, 2014 2:19 pm
by trags3
Simon wrote:Hi Tom,
Not sure that is true, a long time ago I made an app that played a video from the sdcard. I think that means write as well.
Found it, yes here is the start of the path "mnt/sdcard/" the subfolders are available to you.

Simon
Edit: In thinking about it this may only apply to external sdcards (the kind you buy separately and install). I've noticed on my device without external memory still calls the internal memory sdcard.
Simon,
Thanks I recently saw this path somewhere but I couldn't find it anywhere.
Tom :)

Re: How can I access the SD card on Mobile Devices

Posted: Sat May 31, 2014 1:24 am
by charms
If there is a sdcard installed and accessible on Android it will be /mnt/sdcard or /scard depending on the Android Version you are using. This is what their specs say. It works for me on a Samsung Galaxy tablet.

Code: Select all

      if there is a folder "/sdcard" then
         set the defaultFolder to "/sdcard"
      else
         set the defaultFolder to "/mnt/sdcard"
      end if
Kind regards,
Chris