java - Use of JPEGImageDecoder on Android platform -



java - Use of JPEGImageDecoder on Android platform -

i'm trying utilize jpegimagedecoder interface on android application, application stops unexpectedly. next code snippet:

import com.sun.image.codec.jpeg.jpegcodec; import com.sun.image.codec.jpeg.jpegimagedecoder; inputstream in = new fileinputstream(filename); jpegimagedecoder decoder = jpegcodec.createjpegdecoder(in);

why application stops unexpectedly or can utilize these packages on android?

don't think can utilize packages on android. android uses bitmapfactory (android.graphics.bitmapfactory) handle image decoding. stack trace show?

java android jpeg sun

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -