我想改变的Android锁屏壁纸。我能够通过WallpaperManager.setResource改变主屏幕壁纸
WallpaperManager.setResource
但我无法设置的LockScreen壁纸
也就是有什么办法可以自动改变它随着时间的推移?
由于最新的Android API 24可以通过使用WallpaperManager并提供FLAG_LOCK标志更新锁屏壁纸。
wallpaperManager.setBitmap(位图,空,真实,WallpaperManager.FLAG_LOCK)
检查这个问题的更多细节。
How can change lockscreen wallpaper in android with code?