相关疑难解决方法(0)

How to convert a Drawable to a Bitmap?

I would like to set a certain Drawable as the device's wallpaper, but all wallpaper functions accept Bitmaps 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.

android bitmap wallpaper android-drawable

918
推荐指数
17
解决办法
62万
查看次数

你如何使用bundle传递android活动之间的图像(位图)?

假设我有一个从库中选择图像的活动,并将其作为BitMap检索,就像示例:here

现在,我想传递此BitMap以在ImageView中用于另一个活动.我知道bundle可以在活动之间传递,但是我如何将这个BitMap存储到bundle中?

还是我应该采取另一种方法?

android bundle image

50
推荐指数
4
解决办法
11万
查看次数

标签 统计

android ×2

android-drawable ×1

bitmap ×1

bundle ×1

image ×1

wallpaper ×1