Share your experience!
Hi,
This issue is 100% reproducible for me.
Prerequisites:
* Xperia X Performance
* Xperia Camera app
* Save to SD card enabled
* 35.0.A.1.238
Step by step:
1) Start camera app with long press on camera button
2) Take a picture, you will see the screen "flash" to confirm you have take a picture.
3a) You will see a new miniature of the picture appear the top right corner, including a spinner (indeterminate progress bar) overlay. Back out of camera app while the spinner overlay is still visible - this step is crucial, sometimes the spinner disappears quickly, sometimes it takes a long time. It has to be spinning, otherwise the bug won't happen.
3b) Alternatively if you are quick enough you can back out of the app before the miniature image has even appeared, this will also trigger the bug.
4) === ERROR === The picture was not saved.
Q&A
Q: Why would you want to take a picture & back out quickly - why not just wait?
A: Because sometimes you want to snap a picture REAL quick and post it in a chat message, hangouts, instagram, whatever. If the camera "told me" the picture was saved by flashing the screen black, then the picture MUST be available some time after that.
Plz fix :]
Maybe you have a bad MicroSD card, I use on my Z3 a class10 32 Gb Kingstone microSD card and the pictures are saved instantly, a 4 k video of 1 minuite is saved in 4-5 seconds.
Try to format your microSD card or if this doesn't work try a different one
It should not matter! I have been working with Android software for over 6 years and I know the difference between bad implementation and good implementation.
In this case, they (the camera app developers) are killing the thread/asynctask/service/handler that is saving the image when the back button is pressed. This is completely wrong behavior. The image should be saved independently by a separate service that does not rely on whether the Application/Activity is foregrounded and not backed out of.
Completely standard programming and has nothing to do with SD card speed since the image is in RAM and there is lots of RAM to go around.
I could even propose that an image saved at an SD card rate of 1kB/hour should be saved properly as long as RAM pressure does not force the saving service to be killed by the Android system.