[android-developers] Re: skia : error in decode file

2008-10-05 Thread Sudha

Hi
My code is like

imageStream = new FileInputStream(new File(+imageNames[position]));
imageShow = BitmapFactory.decodeFile(+imageNames[position]);
imageStream.close();

for the first image, position = 0 its coming fine
but from next image onwards its showing the skia exception

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
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
-~--~~~~--~~--~--~---



[android-developers] Re: skia : error in decode file

2008-10-03 Thread Mike Reed

Can you include more of the code snippet?

On Oct 3, 2008, at 12:09 PM, Sudha wrote:


Hi I had a strange problem
I am reading the images from the sdcard which are taken using the
camera in a for loop .
1st image is coming fine
and from second image onwards
I am getting
skia  fialure readaeing
skia  jpeg setjump exit
I am reading the image as
imageShow = BitmapFactory.decodeFile(+imageNames[position]);

I tried decodeStream() ,decodeBytearay etc
same isssues repeats
but the first image is coming proper..
Plz help mee

I am using 0.9 sdk





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
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
-~--~~~~--~~--~--~---