摘要:
1、申请权限 2、调用clearWallpaper还原为默认桌面 MainActivity.this.clearWallpaper();3、设置桌面InputStream is;Resources resource=getBaseContext().getResources(); is=resource.openRawResource(R.drawable.wall);MainActivity.this.setWallpaper(is);4、取得当前桌面getWallpaper() 阅读全文