AndroidDev
AndroidDev

Reputation: 4559

How to use liveWallpaper as your background image

I have created a simple app. Now I want to have a live wallpaper as 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.

Upvotes: 0

Views: 530

Answers (1)

Siten
Siten

Reputation: 4533

try:

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

Upvotes: 1

Related Questions