2

According to Android Developers I must have API > 24 to set the locked screen wallpaper and I only have 23.

However, both the Photos and Pandora apps set my lock screen wallpaper

Can anyone help me do one of the following?

  1. Set the lockscreen like Pandora?
  2. Send an intent to the photos app to set the lockscreen?

enter image description here

enter image description here

SeaRoth
  • 177
  • 5
  • 17

1 Answers1

0

Technically there's no way to do that before API level 24.

In order to change the lock screen temporary, you need an application that has registered itself as a media controller. Media/Streaming players like "Pandora" uses "RemoteControlClient" In Android 4.+ and media "Notification" on 5.0+ to display information/change wallpaper on the lock screen.

See a detailed example in Set lock screen background in Android (like Spotify do)

Prokash Sarkar
  • 11,723
  • 1
  • 37
  • 50
  • Thank you very much! I saw that detailed example too. Is there any way to send an intent to the app Photos with an imageURI and have the "complete action using" screen popup like in the first image above? – SeaRoth Jun 15 '17 at 15:44