java.io.FileNotFoundException: (Permission denied) when writing an object using ObjectOutputStream
I have been trying to work around this for several hours and I am extremely frustrated so I am coming to you guys for some guidance. I am trying to save and retrieve a User object I have created. I want to make it so that I can save and retrieve this User object from any intent throughout my application, so I decided to go with a FileInput and Output stream. I have included my code for both below. Here is my output data method: public static void serializeDataOut(User ish) { try { String path = Environment.getExternalStorageDirectory().getAbsolutePath(); File newFile = new File(path + "myFile