0

Please give some solutions of this problem "external allocation too large for this process." when i navigate from one activity to others. Although if i make second activity as main activity, it works fine but when i navigate it from others activities it crushes.

In that activity, i am using many heavy images with scroll horizontally. I have seen many links but still no solutions Thanks

trincot
  • 317,000
  • 35
  • 244
  • 286
afnan khan
  • 136
  • 1
  • 7

1 Answers1

0

It is not a good idea to use many large images together as that would evidently get the app to run Out of Memory. Instead you should try resizing the images. Also you should try gallery view if you want a horizontal list of images. Try this for re-sizing the image

Community
  • 1
  • 1
pankajagarwal
  • 13,462
  • 14
  • 54
  • 65
  • Thanks Freiza.Now i have find solution.It was due to put large images in drawable-MDP folder instead of drawable-HDP. Because it takes large memory on drawable-mdp – afnan khan Jan 30 '12 at 03:14