How to get path to wallpaper

Posted by kentcdodds on Stack Overflow See other posts from Stack Overflow or by kentcdodds
Published on 2012-10-11T21:34:15Z Indexed on 2012/10/11 21:36 UTC
Read the original article Hit count: 237

Filed under:
|
|
|

My Question: How do you get the filepath to the current wallpaper?

Expansion: I'm writing an app that will let you change the wallpaper easily between different presets. I want to store the filepath of the available wallpapers in my database.

What I've tried: WallpaperManger.getWallpaperInfo() or WallpaperManger.getDrawable(). Neither seem to contain the actual location of the file. Any help would be appreciated! :D Thanks!

Also, I'm including live-wallpapers. Thanks!

© Stack Overflow or respective owner

Related posts about java

Related posts about android