开发者

How to use liveWallpaper as your background image

开发者 https://www.devze.com 2023-04-12 12:19 出处:网络
I have created a simple app. Now I want to have a live wallpaper as 开发者_JAVA技巧a background image in my App. So how that can be done? Is there any example code related using live wallpaper as a ba

I have created a simple app. Now I want to have a live wallpaper as 开发者_JAVA技巧a 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.


try:

WallpaperManager.getInstance(class.this).setResource("your image path/from drawable");
0

精彩评论

暂无评论...
验证码 换一张
取 消