Android存bitmap到sdk卡中
try {
FileOutputStream out = new FileOutputStream("/sdcard/pp.png");
CU.BG_BMP.compress(Bitmap.CompressFormat.PNG, 90, out);
} catch (Exception e) {
e.printStackTrace();
}
记得要加上 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>