java - WritableRaster in android -
i have following piece of code:
private static byte[] accessbytes(bitmap image) // access data bytes in image { writableraster raster = image.getraster(); databufferbyte buffer = (databufferbyte) raster.getdatabuffer(); return buffer.getdata(); } // end of accessbytes()
i want convert code work in android application, there way can that? have working code in java, can make class library of code , import in android? work?
yes, android supports java. can use java code in android event library. try starting @ developer.android.com.
Comments
Post a Comment