Version 2.70 Basic4Android
Dim TargetDir as String
If File.ExternalWritable = True then
TargetDir = File.DirRootExternal
msgbox(TargetDir,"External Storage"))
else
TargetDir = File.DirInternal
msgbox(TargetDir,"Internal Storage"))
end if
I'm using a Samsung Note 2 with a memory SD card.
The above code returns the same result with the card in or out.
I can access and write to the card with other programs.
File.DirRootExternal returns the Internal memory path
Appears to be a bug in version 2.70
Dim TargetDir as String
If File.ExternalWritable = True then
TargetDir = File.DirRootExternal
msgbox(TargetDir,"External Storage"))
else
TargetDir = File.DirInternal
msgbox(TargetDir,"Internal Storage"))
end if
I'm using a Samsung Note 2 with a memory SD card.
The above code returns the same result with the card in or out.
I can access and write to the card with other programs.
File.DirRootExternal returns the Internal memory path
Appears to be a bug in version 2.70