I'm encountering a FileNotFoundException when I try to make a file using RandomAccessFile:
RandomAccessFile file = new RandomAccessFile("/test.jpg", "rw");
I don't now how to get around this. It's driving me nuts.
Thanks
Try
RandomAccessFile file = new RandomAccessFile(new File(getFilesDir(), "test.jpg"),
"rw");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With