I want to ask a way to import java.awt.* into Android project (the class i want is BufferedImage). I'm trying to make an app which can read pdf file, but all open-source pdf libraries of Java is not supported on Android. My solution is converting pdf page to image, then using ImageView or something else to displays it, but all libraries return image as BufferedImage object. That's why i need import java.awt (and I still don't figure out how to do), then get byte array of BufferedImage and create a Bitmap object from that byte array.
If anyone know how to do, please help me!
And sorry for my English.