Set any video as wallpaper in android programmatically

I have a problem with the fact that I want to set a video file as wallpaper on an Android device via code. But could not find the exact method for this on the Internet. I can set static wallpapers with WallpaperManager Class in android, and I don’t know if we have a video file, how can we set it as live wallpaper in android. Please offer me the right solution regarding the same.

Thanks in advance.

+4
source share

Source: https://habr.com/ru/post/1403397/


All Articles