2

I have searched high and low and have found no answer, when I try to do

import javax.imageio.ImageIO;

It says "Cannot resolve symbol imageio". This is an almost complete android app. What am I doing wrong?

Eng.Fouad
  • 115,165
  • 71
  • 313
  • 417
Steve Smith
  • 149
  • 2
  • 5
  • 11

2 Answers2

5

As was mentioned, the ImageIO class is not available on Android. You can do image decoding in Android using the BitmapFactory class.

Barend
  • 17,296
  • 2
  • 61
  • 80
0

Don't know what you're trying to achieve, but you probably want to use the Bitmap / BitmapFactory to solve your problem.