Have you tried this:

android:largeHeap = “true”


On Monday, August 13, 2012 11:49:55 AM UTC-5, José Ignacio Merino wrote:
>
> Hi,
>
> When I load the Bitmap with BitmapFactory.decodeFile() (with option 
> inMutable set to true to obtain a mutable Bitmap), I get a OutOfMemory 
> exception when I load a large bitmap (few MB).
>
> My program needs load a large bitmap, modify it and save a modified copy 
> on background.
>
> I've read that's impossible using Java on Android and NDX could be a 
> solution to solve it, but even using NDX all I've read is get a large 
> bitmap and resize it (people is using NDX to speed up the load of the 
> bitmap, not work with a bitmap on backgound)
>
> Could give me a clue about how to use NDX to work with a bitmap with 
> complete resolution in background? Is completely impossible use Java API to 
> work in background with large bitmap (not present it on GUI, only work and 
> save to disk)?
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to