1

I am attempting to modify an existing open source code that will compare two images so that I can create a VERY rudimentary retina scanner as an Android app. However, the code uses the BufferedImage subclass. My problem is that BufferedImage keeps returning as an unresolved symbol, and I am worried this may be because I actually have to create the subclass, even though I thought it was part of the Java library.

Am I right? Or is there something I'm missing? And if I am right, could someone provide me with a direction on actually making the subclass? If it helps, my platform is Android Studio 0.8.14.

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216

1 Answers1

2

BufferedImage belongs to the awt package and isn't available on Android :/

docs.oracle.com -> BufferedImage

However you can use the Bitmap class.It should get you to where you wanna go.

Android Developer - Bitmap

Android Developer - Guide for working with Bitmaps

cgew85
  • 427
  • 3
  • 9