android drawable object to bitmap code example Example: convert bitmap to drawable android Drawable d = new BitmapDrawable(getResources(), bitmap);