I have a wallpaper with optimum size to my phone:
And I want set it as the homescreen by:
WallpaperManager myWallpaperManager = WallpaperManager.getInstance(this);
String imageFilePath = myWallpaperPath;
Bitmap myBitmap = BitmapFactory.decodeFile(imageFilePath);
if (myBitmap != null) {
try {
myWallpaperManager.setBitmap(myBitmap);
} catch (IOException e) {}
} else {}
My problem is that myWallpaper is cropped and then sets as homescreen. I want to set it with full size and quality.