[android-developers] bitmap size exceeds VM budget on BitmapFactory.decodeResource

2011-03-21 Thread deprecated
Hi there, I'm building a LiveWallpaper which i thought was ready to publish until a ran it on a galaxy S (my phone is a HTC MAGIC :S) I'm getting out of memory exception when I scale the images. I know this question has been already posted before and i've red most of the posts and its answers,

[android-developers] bitmap size exceeds VM budget

2010-10-06 Thread Amanda Lee
Hi all, I am a amateur for android development. There are some problems which might need your assistance. I intend to process plenty of pictures via SD card. With the attached code, it seems not to work smoothly via SD card. The systme will report bitmap size exceeds VM budget. Is there any

Re: [android-developers] bitmap size exceeds VM budget

2010-10-06 Thread Kumar Bibek
Managing pictures needs special attention since the max heap area you get is 16MB or more on a few phones. You cannot exceed that budget. On Wed, Sep 29, 2010 at 8:45 AM, Amanda Lee amanda7...@gmail.com wrote: Hi all, I am a amateur for android development. There are some problems which might

[android-developers] bitmap size exceeds VM budget

2010-03-01 Thread wei yan
Hi: some of you may met the same problem, I was using BitmapFactory.decodeStream, and got this exception: 03-01 23:28:17.663: ERROR/dalvikvm-heap(940): 1572864-byte external allocation too large for this process. 03-01 23:28:17.663: ERROR/(940): VM won't let us allocate 1572864 bytes 03-01

[android-developers] bitmap size exceeds VM budget

2009-10-30 Thread Richard
I'm getting some reports from the remote stack trace plug-in, with this error (see below) What I'm doing, is findViewById(R.id.instructionsBack).setBackgroundResource (R.drawable.instructions1); And then when I need to change the image, findViewById(R.id.instructionsBack).setBackgroundResource