title: Use Current Wallpaper as live wallpaper background
body: <p>I am getting the current wallpaper by using following code:</p>
  
  <pre><code>  final WallpaperManager wallpaperManager = WallpaperManager.getInstance(this);
    final Drawable wallpaperDrawable = wallpaperManager.getDrawable();
  </code></pre>
  
  <p>How can I create a bitmap from this?</p>
  
  <p>like when I create a bitmap from res folder I use this</p>
  
  <pre><code>    Resources res = getApplicationContext().getResources();
      b = BitmapFactory.decodeResource(res, R.drawable.wall);
  </code></pre>
  
  <p>What code I should use to get current wallpaper into the bitmap so I can draw it on my canvas and use it as my live wallpaper background?</p>