I am working on a simple wallpaper app of some images that I have.
They are .png files in drawable folders.

Here are some code snippets:

WallpaperManager myWallpaperManager =
WallpaperManager.getInstance(getApplicationContext());
....
myWallpaperManager.setResource(R.drawable.image1);

 No matter what size or resolution I seem to use, when the wallpaper
is set it crops the original image. When I use the same image as a
background it is the correct size and shows the entire image. I
thought it might be a problem with my emulator so I have tried running
it on an actual device (HTC eris) and I am having the same problem. I
have made the image the screen size and resolution for the eris and it
is still cropping it. I then made the image only one inch high and a
resolution of 100 dpi. It was very pixelated on the eris, but still
cropped the image.

Any help would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to