2012-11-30 59 views
4

我可以通过包装名称更改安装的壁纸吗?如何以编程方式更改壁纸?

例如:

String packageName = "com.wallpaper.livewallpaper"; 

start(packageName); 
+3

问多次...短篇小说:形象是,动态壁纸没有... – Selvin

+0

打开动态壁纸选择器后呢?我可以以某种方式编程选择一些壁纸并将它们设置为预览或应用它们? – Naskov

+0

'Intent intent = new Intent(Intent.ACTION_SET_WALLPAPER); \t \t intent.setClassName( “com.android.wallpaper.livepicker”, \t \t \t \t “com.android.wallpaper.livepicker.LiveWallpaperActivity”); \t \t startActivity(intent);'<=它可能或**可能无法工作,因为没有记录...只需选择android操作系统源代码并找到文件夹“packages \ wallpapers \ LivePicker”应该有LivePicker的源码... – Selvin

回答

2

Android中更改动态壁纸编程是不系统安全问题的可能原因。