Error
in
Android Processing
•
7 months ago
Hello, I develop an app for my Samsung Galaxy with Processing and have to load therefore many pictures depending on which button is pressed. In most cases it works fantastically but sometime I get the following error....
I tried much for example use different images but nothing has worked so far.
Thx for helping me!
FATAL EXCEPTION: Animation Thread
java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:625)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:724)
at processing.core.PApplet.loadImage(Unknown Source)
at processing.test.iredstone14_3_13.iRedstone14_3_13.mouseReleased(iRedstone14_3_13.java:305)
at processing.core.PApplet.mouseReleased(Unknown Source)
at processing.core.PApplet.handleMouseEvent(Unknown Source)
at processing.core.PApplet.dequeueEvents(Unknown Source)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(PGraphicsAndroid2D.java:169)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:856)
1