title: Set a wallpaper that doesn't scroll programmatically?
body: <p>I used to be able to set a wallpaper bitmap without scrolling using this (incorrect) code below:</p>
  
  <pre><code>int deviceWidth = ...;
  int deviceHeight = ...;
  Bitmap bmp = new Bitmap(deviceWidth, deviceHeight);
  ...
  
  WallpaperManager wm = WallpaperManager.getInstance(context);
  wm.setWallpaperOffsetSteps(1, 1);
  wm.suggestDesiredDimensions(deviceWidth, deviceHeight;
  wm.setBitmap(bmp);
  </code></pre>
  
  <p>but the developer docs now point out that we shouldn't be calling suggestDesiredDimensions() unless we're a homescreen replacement app. Which I'm not. And this doesn't work on my nexus 5 either.</p>
  
  <p>After searching through SO posts, it seems like the recommended way to create a wallpaper that doesn't scroll is to add Live Wallpaper support to your app. You can set your live wallpaper up to not scroll. See the last answer for setting it programmatically here:</p>
  
  <p><a href="https://stackoverflow.com/questions/4831499/setting-live-wallpaper-programmatically">Setting live wallpaper programmatically</a></p>
  
  <p>Is this the right way to do it, or am I missing a much simpler way to go about this?</p>