Dianne, I'm using three devices to play with this... Nexus, Hero,
Europa.

Basically I've spent way too many hours trying to get this to work
programmatically with a screen sized (320 * 480) image. It clearly
isn't practical to set wallpaper with an image of those dimensions...
I'm just going to have to tell my client "No..."!

On Dec 19, 7:50 pm, Dianne Hackborn <[email protected]> wrote:
> Actually ignore that last part, the wallpaper still needs to be the height
> of the screen in portrait.  Duh. :p  You should see in the gallery wallpaper
> cropping UI that the size it wants is slightly longer than tall, but not as
> much as a WVGA screen.  At least, again, for the standard platform running
> the standard launcher.
>
> On Sun, Dec 19, 2010 at 11:48 AM, Dianne Hackborn <[email protected]>wrote:
>
>
>
> > Oh and in the standard launcher app, the requested size will be slightly
> > wider than the screen in landscape, and the same height as the screen in
> > portrait.  This is to ensure the image is large enough to fill a portrait
> > screen, and still be able to provide a bit of parallax on a landscape screen
> > (in which case the image will be cropped vertically).
>
> > Actually on some devices without a keyboard it may just ask for an image
> > the same size as the display in landscape, because the standard launcher
> > doesn't run in landscape mode in that case.
>
> > On Sun, Dec 19, 2010 at 11:45 AM, Dianne Hackborn 
> > <[email protected]>wrote:
>
> >> What phone are you doing this on?  It works fine on all of my phones.
>
> >> Also note the desired image size is based on what the current launcher app
> >> expects.  Something else could be installed that sets it to something
> >> different.  The platform just reports whatever was last requested by an 
> >> app.
>
> >> On Sun, Dec 19, 2010 at 1:17 AM, Neilz <[email protected]> wrote:
>
> >>> Ok, I think the problem I have here is not my code after all...
>
> >>> I tried simply setting the wallpaper from the phone options, picking
> >>> an image from the gallery. Exactly the same thing happens as when I do
> >>> it from the code... it picks a central part of the image and stretches
> >>> it.
>
> >>> I think the problem seems to be that it wants a rectangular image
> >>> (wider than it is high) to fit the multiple desktops. But the images
> >>> that I have in my app are all tall. But, if it wants an image that
> >>> size, then why does the WallpaperManager suggest an image size which
> >>> is basically the same results as the DisplayMetrics dimensions? (i.e.
> >>> 240 * 320, 320 * 480 etc). That clearly isn't the size that it wants.
>
> >>> Seriously, try setting a wallpaper from your own image gallery, and
> >>> you'll see what I mean.
>
> >>> --
> >>> 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]<android-developers%[email protected]>
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/android-developers?hl=en
>
> >> --
> >> Dianne Hackborn
> >> Android framework engineer
> >> [email protected]
>
> >> Note: please don't send private questions to me, as I don't have time to
> >> provide private support, and so won't reply to such e-mails.  All such
> >> questions should be posted on public forums, where I and others can see and
> >> answer them.
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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