简体   繁体   English

如何在Android中获取当前壁纸uri?

[英]How to get current wallpaper uri in Android?

I want to get the current wallpaper uri , I have no idea . 我想得到当前的壁纸uri,我不知道。 It seems that WallpaperManager or wallpaperManager.getWallpaperInfo() has not such method to get uri. 似乎WallpaperManager或wallpaperManager.getWallpaperInfo()没有这样的方法来获取uri。

Well, I don't see a way to get the URI, but you can get the drawable itself it seems using these methods: 好吧,我没有看到获取URI的方法,但是你可以使用这些方法获得drawable本身:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM