Changing wallpaper image from Listview android

12 Views Asked by At

Please excuse my English! I am very new to android studio.I created a list view showing different images.I want the wallpaper to show the image in the list view when double clicked I cannot set the Resource

                final WallpaperManager wallpaperManager = WallpaperManager.getInstance(getApplicationContext());

                try {
                    wallpaperManager.setResource();
                } catch (IOException e) {
                    e.printStackTrace();
                }
0

There are 0 best solutions below