Hello All
The code...
Dim aFn as String : aFn = "" ' initialized as nothing
if file.exists("sdcard/media", aFn) then
<do something>
end if
...
seems to always return "true". Even though there is no filename in the exists function.
Why would this be so?
I am aware that as the programmer I should set the filename. Please don't reply telling me to set a filename. My interest is why "file.exists" should return true when there is no file specified.
(tested on LG Optimus Black P970 and Samsung Galaxy Note N7000 both on Android 2.3.4)
regards and many thanks
SeaCay
The code...
Dim aFn as String : aFn = "" ' initialized as nothing
if file.exists("sdcard/media", aFn) then
<do something>
end if
...
seems to always return "true". Even though there is no filename in the exists function.
Why would this be so?
I am aware that as the programmer I should set the filename. Please don't reply telling me to set a filename. My interest is why "file.exists" should return true when there is no file specified.
(tested on LG Optimus Black P970 and Samsung Galaxy Note N7000 both on Android 2.3.4)
regards and many thanks
SeaCay