After taking a picture with my camera, I want to save it in that layout. I also want to save it to a File and be able to load that picture when I create the activity(so if i
out = ctx.openFileOutput(filename, Context.MODE_PRIVATE);
Try switching to:
out = ctx.openFileOutput(filename, Context.MODE_WORLD_READABLE);