If you are progmatically loading an ImageView in Android, there are a couple things you need to know:
- By default your AndroidManifest is setup to use image optimization (think games). This is most likely bad.
- It does not take a large image to cause an OutOfMemoryException.
- The Heap size is small, by default.
To fix, change/add these lines in your manifest:
android:hardwareAccelerated="false" android:largeHeap="true"