I am working with WallpaperManager now. Here is my code:
WallpaperManager wallpaperManager = WallpaperManager.getInstance(MainActivity.this);
wallpaperManager.setResource(R.drawable.some_image);
When I set this image as my wall paper, it is too large (a screenshot), but I think the size (720*1280) is correct.
Even if I open the page by browser, and long click on the image, and then select the option to set wall paper, it's still the wrong size. Is there any thing I can do to solve this problem?
Thank you.