Navjot Bedi Navjot Bedi - 1 year ago 253
Android Question

How to change the lockscreen wallpaper in android?

I want to change the lockscreen wallpaper of android. I was able to change home screen wallpaper through


But not able to set LockScreen Wallpaper

Answer Source

This is now possible with the updated Android API in API Level 24.

You have to provide the target WallpaperManager.FLAG_LOCK flag via the setResource method.

int setResource (int resid, int which)

See the updated documentation for the WallpaperManager

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download