I am using the below code to write a backup copy to SDCard and I get
java.io.IOException: Parent directory of file is not writable: /sdcard/mydbfile.db<
java.io.IOException: Parent directory of file is not writable: /sdcard/mydbfile.db
Do you have permissions defined in manifest ?
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />