I want to get mobile`s current wallpaper and set that image as the background image of the application. I tried this way but its show a run time exception
final WallpaperManager wallpaperManager = WallpaperManager.getInstance(this);
final Drawable wallpaperDrawable = wallpaperManager.getDrawable();
layout.setBackground(wallpaperDrawable);