I have developed an application that uses many images on Android.
The app runs once, information on the screen ( layout
, list view
, textviews
, ImageViews
, etc.) and reads user information.
There is no animation, no special effects or anything that can fill up memory Sometimes the designers can change some are Android resources and some files are saved in a folder in the SDCard.
Then the user exits ( onDestroy
method executes and the app resides in memory by VM) and then user enters again at some point
Whenever the user enters the app, I can see the maximum number of memory as long as the user gets java.lang.OutOfMemoryError
.
What is the best / correct way to handle multiple images?
Should I put them in steady ways so that they do not load at all times? Do I have to clean layout or images specifically in layout?
No comments:
Post a Comment