問題は最後の行で発生し、そのような配列を新しくしようとすると、折りたたまれます。Logcat では、「java.lang.OutOfMemoryError」と表示されます。どう言う意味ですか?助けてください。
Bitmap bmap;
Bitmap bMapRotate;
int bmapWidth;
int bmapHeight;
int[] bmapColorArray;
int bmapColorArraySize;
bmapWidth = bmap.getWidth();
bmapHeight = bmap.getHeight();
bmapColorArraySize = bmapWidth * bmapHeight;
bmapColorArray = new int[bmapColorArraySize];
bmap.getPixels(bmapColorArray, 0, bmapWidth, 0, 0, bmapWidth, bmapHeight);
そして、この int Array をネイティブ レイヤーに渡すように呼び出します。