ファイルへの画像の保存を
FileOutputStreamでやってるんだけど
もっと高速にできる方法ないかな?
今のソースはこんな感じ
//ディレクトリ作成
File dir = new File(Environment.getExternalStorageDirectory(),"hogehoge");
if( dir.exists()==false )dir.mkdir();
//ファイル作成
File f2 = new File(dir, "bmp"+Main.bmp_pro);
FileOutputStream output = new FileOutputStream(f2,false);
//Bitmapからbyte[]への変換
ByteArrayOutputStream os = new ByteArrayOutputStream();
bmp.compress(CompressFormat.PNG, 100, os);
byte[] bin = os.toByteArray();
output.write(bin);
output.close();