Change the screen lock background

I am trying to change the background image of the lock screen from my application, but cannot figure out how to do this. I managed to change the desktop wallpaper using WallPaperManager, but could not find a source that would do the same for the lock screen. I know apps like QuickPic and Gallery Gallery, so how can I implement it?

Here is the code I used to change the main screen:

WallpaperManager myWallpaperManager = WallpaperManager .getInstance(getApplicationContext()); try { myWallpaperManager.setBitmap(bm); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } 

Can anyone who has done this point me in the right direction to do this with my application?

+7
android lockscreen android-wallpaper
source share

No one has answered this question yet.

See similar questions:

28
How to set Android lock screen image
nineteen
Set Android screen lock background (e.g. Spotify do)

or similar:

1770
Get screen sizes in pixels
501
getting software screen density in android?
eighteen
Android Facebook Block Notification
14
Programmatically change iOS lock
3
Are Android wallpapers real or virtual? Why aren't the live wallpapers displayed in the example of the initial screen?
one
Android Wallpaper Manager integrates images
one
Android Lock screen sometimes appears behind the home screen
one
permission storage lock screen
0
Lock screen wallpaper without sound playback in the background iphone
0
LockScreen Android Wallpaper

All Articles