Hi,
I am using the Camera library and camEx class for an app I am developing. The app supports both landscape and portrait mode, so when i rotate my device the activity pauses, creates and resumes...everything ok
I had observed that each time I did it, I had less memory available in a Samsung Galaxy SII. I tried to read and follow all the stuff and good practices related to bitmap recycling and it was nearly solved, but still some memory was "lost" each time I rotated the device. I could not find where
I went back to the original camEx example, exactly as it is (only adding VBBitmap library in order to use its memory monitoring functions) and observed that, in a slighter way than in my app, but also if I rotated the device some times, the available memory is each time less.
What can it be due to? How can it be solved? is it possible that some reference to the view inside Panel1 is still hidden somewhere when the camera is released? I want to release this app supporting device rotation, but I don't dare to, since, even perhaps this doesn't happen in all the devices, I don't fell comfortable knowing it
Thanks
I am using the Camera library and camEx class for an app I am developing. The app supports both landscape and portrait mode, so when i rotate my device the activity pauses, creates and resumes...everything ok
I had observed that each time I did it, I had less memory available in a Samsung Galaxy SII. I tried to read and follow all the stuff and good practices related to bitmap recycling and it was nearly solved, but still some memory was "lost" each time I rotated the device. I could not find where
I went back to the original camEx example, exactly as it is (only adding VBBitmap library in order to use its memory monitoring functions) and observed that, in a slighter way than in my app, but also if I rotated the device some times, the available memory is each time less.
What can it be due to? How can it be solved? is it possible that some reference to the view inside Panel1 is still hidden somewhere when the camera is released? I want to release this app supporting device rotation, but I don't dare to, since, even perhaps this doesn't happen in all the devices, I don't fell comfortable knowing it
Thanks