- final WallpaperManager wallpaperManager = WallpaperManager.getInstance(this);
- //获取壁纸图片
- final Drawable wallpaperDrawable = wallpaperManager.getDrawable();
- //该片段来自于http://www.codesnippet.cn/detail/151120137188.html
来源: http://www.codesnippet.cn/detail/151120137188.html