// 获取壁纸管理器WallpaperManager wallpaperManager = WallpaperManager.getInstance(this.getContext());// 获取当前壁纸Drawable wallpaperDrawable = wallpaperManager.getDrawable();// 将Drawable,转成BitmapBitmap bmp = ((BitmapDrawable) wallpaperDrawable).getBitmap();
// 获取壁纸管理器WallpaperManager wallpaperManager = WallpaperManager.getInstance(this.getContext());// 获取当前壁纸Drawable wallpaperDrawable = wallpaperManager.getDrawable();// 将Drawable,转成BitmapBitmap bmp = ((BitmapDrawable) wallpaperDrawable).getBitmap();