Wallapaper App Problem

I have created one Simple wallpaper app and used Wallpaper Component for setting wallaper in home screen and lock screen. When I click Set wallpaper button, wallpaper not setting in home and lock screen.

you can search in community.there are many tutorials.

I have make my Wallpaper App by watching YouTube Videos. Then also I’m facing problem. From many days I am trying to solve this problem but couldn’t do it. Many youtube videos watched and after watching I have made again but the problem is not fixed.

where do u get canvas image?