WallpaperManager wpm = WallpaperManager.getInstance(getActivity().getApplicationContext()); InputStream ins = null; ins = new URL(imglink).openStream(); wpm.setStream(ins); These codes stop the photo but the phone but the photo shows the photo in poor quality. How to set the photo in good quality?
imglink takes a photo from the internet.