I am developing an image processing app in which I have an album folder which contains more than one image.
Also there can be more than one album in project. On starting the application there is a list of albums. On selecting album gallarey view with images contained in that album are displayed.
If we select any image than new activity is launched in which you can do drawing over the selected image(i.e. you can draw lines or shapes over image). You can also add image to album, using camera or from gallery. Now the problem i am facing is that app works fine.But i am unable handle OutOfMemory error. I have tried lots of things. Such as
- Resizing image.
- Destroying activity.
- Using application context for database helper classes.