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
It sounds like your code works, but you are losing your image when the activity comes back. Loading your picture onPostResume() instead of onCreate() may be what you need. It feels like the activity lifecycle is the key to your problem. I have a couple of questions I will throw into comments.
out = ctx.openFileOutput(filename, Context.MODE_PRIVATE);
Try switching to:
out = ctx.openFileOutput(filename, Context.MODE_WORLD_READABLE);