title: Display 25 images in viewpager cause outofmemoryerror for larger screen in android
body: <p>I am developing application where I am displaying animals images in landscape mode. I have to display it in around 70% of width of screen size. I have all 4 different sizes images in all 4 folders. So my hdpi folder contain image size is 480 x 420. And No image is more than 25Kb in this folder. And I have to display such around 25 - 30 images using viewpager. But It gives outofmemory error for larger screen. What is solution for that? All my images are local means I am not downloading any image from server. I have also used bitmapfactory method, but still it gives outofmemory error. Please give me solution.</p>