Jelly Bean 4.1.1

luke2012

Well-Known Member
Licensed User
Longtime User
Hi to all,
I'm testing a sub on different Android versions.
This is the test case :

1) Gingerbread : OK
2) ICS : OK
3) Jelly Bean 4.1.1 : Doesn't work (Java error)

The code is the same in all the test.
I'm using the following object to retrieve ad image from SQLite DB :

Cursor1, Buffer(), InputStream1

In this moment I don't have the device that raise the error and I asking the person for the java line.

Have someone any ideas about that (I'll notify the java line as soon as possible)?
 

luke2012

Well-Known Member
Licensed User
Longtime User
Error message

Hi Erel,
the message says :

An error has occurred in sub:
actshowpic_vvvvvvvvvvvvvvvvvvvvvvvvvv1 (java line: 280)
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception

where I can check for the source java files in my project?
 
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
So I check the java file and I'll let you known.

It's strange because using Gingerbread & ICS all work fine.
 
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
Erel the 280° java line that raise error :

_b.setObject((android.graphics.Bitmap)(_r.RunStaticMethod("android.graphics.Bitmap","createScaledBitmap",new Object[]{(Object)(_original.getObject()),(Object)(_width),(Object)(_height),(Object)(_filter)},new String[]{"android.graphics.Bitmap","java.lang.int","java.lang.int","java.lang.boolean"})));
 
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
Hi Erel,
I checked using LoadBitmapSample and doesn't work.
In this case no message is raised.
The app was crashed and closed.

I tested this code on :

1) Optimus One : It works
2) Optimus Sol : It works
3) Galaxy Tab 2 : It works
4) Galaxy S3 ("Android" branded) : doesn't work

It's related to the camera ?
The 1,2,3 device have a MPixel < 8
 
Upvote 0
Top