tags:

views:

89

answers:

1

Hello,

I tried to scale an high-resolution image to the desired size of my android and then set it as wallpaper, but as result I have a scaled image with 'annoying alternate rows' that make the picture NOT attractive.

int newWidth = wallpaperManager.getDesiredMinimumWidth();
int newHeight = wallpaperManager.getDesiredMinimumHeight();


Bitmap resizedBitmap = Bitmap.createScaledBitmap(bitmapOrg, newWidth, newHeight, true);
A: 

You are scaling the bitmap correctly.

You could try downloading GIMP (free software) and scale your image to match the main 3 resolutions of android phones. This may produce a better result.