I would like to set a certain Drawable
as the device's wallpaper, but all wallpaper functions accept Bitmap
s only. I cannot use WallpaperManager
because I'm pre 2.1.
Also, my drawables are downloaded from the web and do not reside in R.drawable
.
转载于:https://stackoverflow.com/questions/3035692/how-to-convert-a-drawable-to-a-bitmap