Code example for WallpaperManager

Methods: setResource

0
	} 
 
	@Override 
	public void selectWallpaperResource(int res) {
		try { 
			manager.setResource(res);
		} catch (IOException e) {
			e.printStackTrace();
		} 
	} 
 
	@Override 
	public void setActivity(Activity activity) {
		contextActivity = activity;
	} 
 
	@Override 
	public int getSDKVersion() { 
		return 5; 
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE