如何使用liveWallpaper作为背景图片 [英] How to use liveWallpaper as your background image
本文介绍了如何使用liveWallpaper作为背景图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经创建了一个简单的app.Now我想有一个动态壁纸在我App.So的背景图像如何,可以使用动态壁纸作为背景done.Is有任何例如code相关的我们app.If的人都知道,请帮我解决了这一点。
I have created an simple app.Now i want to have an live wallpaper as an background image in my App.So How that can be done.Is there any example code related using live wallpaper as a background in our app.If anyone knows please help me to solve this out.
推荐答案
尝试:
WallpaperManager.getInstance(class.this).setResource("your image path/from drawable");
这篇关于如何使用liveWallpaper作为背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文