Doubt in Tutorial - 41 - Finish Camera and Wallpaper App

I am using API 8, and so the method setWallaper is depreciated. What alternative solution can I use!