I am currently making an application for the Android SDK that will allow me to open/copy a database already made outside of the application. I was having trouble getting my prog
Logcat shows the directory doesn't exist. Which is no surprise as there typically isn't a scratch directory under root on android devices.
It's also best to avoid using absolute path names as well as you can't be certain that they'll always exist on the different devices your app may run on. The correct way to access files for your application would be to use Environment when opening a file. For example:
File file = new File(Environment.getExternalStorageDirectory() + "/scratch/os.sqlite");
This would typically exist on the sdcard or a soft linked directory designated as the "sd card" on internal memory. So this example would open a file on the sdcard under the scratch directory.
How to get your database file on to the device or emulator is up to you. You can use the file explorer to push the file into the appropriate directory if you're using the emulator.