I have no difficulty using the following in code when testing using an avd with a mounted sdcard (from an eclipse .img file) that contains a folder named foldername which then contains a file named filename.png
Code is as follows:
btmp = LoadBitmap(File.DirRootExternal,"/foldername/filename.png")
However when trying to access this with a tablet (Toshiba Thrive), I get a java.io.FileNotFoundExcepton: /mnt/sdcard/foldername/filename.png (No such file or directory) even though foldername with the filename.png file exists at the root of the inserted sdcard. Any thoughts as to why this is happening or how to resolve it. The Toshiba Thrive has internal storage, sdcard, and usb storage. I've tried using the usb drive as well with a simialr error.
Thanks for any help you may be able to provide
Code is as follows:
btmp = LoadBitmap(File.DirRootExternal,"/foldername/filename.png")
However when trying to access this with a tablet (Toshiba Thrive), I get a java.io.FileNotFoundExcepton: /mnt/sdcard/foldername/filename.png (No such file or directory) even though foldername with the filename.png file exists at the root of the inserted sdcard. Any thoughts as to why this is happening or how to resolve it. The Toshiba Thrive has internal storage, sdcard, and usb storage. I've tried using the usb drive as well with a simialr error.
Thanks for any help you may be able to provide