Bitmap bitmap=BitmapFactory.decodeResource(getResources(), R.drawable.images);
ByteArrayOutputStream stream=new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.PNG, 90, stream); // what 90 does ??
byte[] image=stream.toByteArray();
bitmap.compress(Bitmap.CompressFormat.PNG, 90, stream);
の90は何を意味しますか?画像をアンドロイドのバイト配列に変換する
可能な重複[アンドロイドにbase64文字列にバイト配列とバイト配列に画像を変換するには?](http://stackoverflow.com/questions/10513976/how -to-convert-image-into-byte-array-and-byte-array-base64-string-in-android) – Ironman