Drawable drawable = new BitmapDrawable(bitmap);
or
BitmapDrawable bd= new BitmapDrawable(getResource(), bm);