/**
* 保存Bitmap
*/
public static void saveBitmap(Bitmap bm) {
File f = new File(Environment.getExternalStorageDirectory().getPath()+"//",
Util.getOutTradeNo3(System.currentTimeMillis()) + ".png");
if (f.exists()) {
f.delete();
}
try {
FileOutputStream out = new FileOutputStream(f);
bm.compress(Bitmap.CompressFormat.PNG, 90, out);
out.flush();
out.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}