ImageIo
is part of JRE not directly to android, so you may face problem!!
visit http://docs.oracle.com/javase/7/docs/api/javax/imageio/ImageIO.html
and we can say that Android is not stand art java - it lacks certain classes. what can be suggested is you can go for similar approaches and try to find out some similar straight solution or library project which can help you .