Is there an equilivant special folder path in live code for external storage?
i.e.
mnt/sd card/
mnt/sd card1/
mnt/sd card2/
Someone had a huge huge list of folder paths but can't seem to find the link.
I can't seem to find the sd card folder on android:
Code: Select all
on mouseUp
put "checking for folder /sdcard/" into field txtDisplayResult
if there is a folder "/mnt/sdcard" then
put "/mnt/sdcard - exists" into field txtDisplayResult
end if
if there is a folder "mnt/sdcard" then
put "mnt/sdcard - exists" into field txtDisplayResult
end if
if there is a folder "/sdcard" then
put "/sdcard - exists" into field txtDisplayResult
end if
if there is a folder "/sdcard" then
put "sdcard - exists" into field txtDisplayResult
end if
put "checking for folder /sdcard/" into field txtDisplayResult
if there is a folder "/sdcard/" then
put "sdcard - exists" into field txtDisplayResult
end if
open file "/sdcard/Barry.txt" for text read
read from file "/sdcard/Barry.txt" until EOF
put it into field txtDisplayResult
close file "/sdcard/Barry.txt"
end mouseUp