试试这个,它将为您提供位图。
// You are using RGBA that's why Config is ARGB.8888 bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); // vector is your int[] of ARGB bitmap.copyPixelsFromBuffer(IntBuffer.wrap(vector));
编辑:
//OR , you can generate IntBuffer from following native method
希望对您有帮助。



