2

I want to set lockscreen image dynamically in android. Is it possible to set the image dynamically?

Priyesh. N
  • 29
  • 1
  • 3

1 Answers1

1

it s available on API24

WallpaperManager.getInstance(this).setStream(inputStream, null, true, WallpaperManager.FLAG_LOCK);

check this reference

Elias Fazel
  • 2,093
  • 16
  • 20