Android - Save image to SD and then Load Image?

Couple things. When you use a FileOutputStream you have to make sure the directory you are trying to write to is created before you try to write a file to it. If not you have to create it.

This can be done via mkdirs() method of the File class. Next I'm not sure the call to getAbsolutePath is required, due to the type of file system Android uses. I've never had to use it to save to SD before.

I'd try these and see if one of them will solve it for you.

Thanks for the general pointers, I will mark as correct if either work. – BS-Programming Mar 20 at 19:02 I solved my problem, although it wasn't todo with the tips you have told me, however they were needed to complete the coding. – BS-Programming Mar 20 at 21:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions